llvm-project/clang/tools/clang-format
Philipp Stephani 2f906683ed clang-format.el: Make clang-format work in indirect buffers.
In an indirect buffer, buffer-file-name is nil, so check the base buffer
instead.  This works fine in direct buffers where buffer-base-buffer returns
nil.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D120408
2022-02-23 17:00:12 +01:00
..
fuzzer
CMakeLists.txt [clang][cmake] Use `GNUInstallDirs` to support custom installation dirs 2022-01-21 23:58:08 +00:00
ClangFormat.cpp [clang-format] Remove spurious JSON binding when DisableFormat = true 2021-12-15 23:09:28 +00:00
clang-format-bbedit.applescript
clang-format-diff.py [clang-format] add support for cppm files 2021-12-14 14:55:38 +00:00
clang-format-sublime.py
clang-format-test.el [Format] Fix clang-format.el unit tests after commit f349cc37cc 2019-11-11 17:55:38 +01:00
clang-format.el clang-format.el: Make clang-format work in indirect buffers. 2022-02-23 17:00:12 +01:00
clang-format.py [Format] Work around current vim bugs in clang-format.py 2020-04-15 20:11:14 +02:00
git-clang-format [clang-format] Add return code to git-clang-format 2022-01-16 02:41:10 -08:00