llvm-project/clang/tools/clang-format
Daniel Jasper 271dd0603e clang-format: Add capability to format the diff on save in vim.
With this patch, one can configure a BufWrite hook that will make the
clang-format integration compute a diff of the current buffer with the file
that's on disk and format all changed lines. This should create a
zero-overhead auto-format solution that doesn't require the file to
already be clang-format clean to avoid spurious diffs.

Review: https://reviews.llvm.org/D32429
llvm-svn: 305665
2017-06-19 07:30:04 +00:00
..
fuzzer [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. (following llvm r249214) 2015-10-02 23:34:37 +00:00
CMakeLists.txt [CMake] Add install-clang-format target by migrating to add_clang_tool 2016-02-23 20:33:15 +00:00
ClangFormat.cpp Print registered targets in clang's version information 2017-06-06 21:54:21 +00:00
clang-format-bbedit.applescript
clang-format-diff.py Add the --no-color option to the git call in the doc when using clang-format-diff 2016-12-03 23:22:45 +00:00
clang-format-sublime.py clang-format: Enable #include sorting by default. 2015-11-16 12:38:56 +00:00
clang-format-test.el Use UTF-8 for all communication with clang-format 2017-01-20 09:37:50 +00:00
clang-format.el Use UTF-8 for all communication with clang-format 2017-01-20 09:37:50 +00:00
clang-format.py clang-format: Add capability to format the diff on save in vim. 2017-06-19 07:30:04 +00:00
git-clang-format [clang-format] Allow git-clang-format to handle empty extensions. 2017-06-15 00:54:08 +00:00