hanchenye-llvm-project/clang/tools/clang-format
Daniel Jasper c64b09acc3 clang-format: Introduce DisableFormat that prevents formatting.
And "none" pseudo-style indicating that formatting should be not
applied.

(1) Using .clang-format with "DisableFormat: true" effectively prevents
formatting for all files within the folder containing such .clang-format
file.

(2) Using -fallback-style=none together with -style=file prevents
formatting when .clang-format is not found, which can be used in on-save
callback.

Patch by Adam Strzelecki. Thank you!

llvm-svn: 209446
2014-05-22 15:12:22 +00:00
..
CMakeLists.txt [CMake] Update target_link_libraries() and LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 12:40:37 +00:00
ClangFormat.cpp clang-format: Introduce DisableFormat that prevents formatting. 2014-05-22 15:12:22 +00:00
Makefile
clang-format-bbedit.applescript
clang-format-diff.py clang-format: Add clang-format-diff usage examples for SVN. 2014-05-14 09:36:11 +00:00
clang-format-sublime.py Py3k compat for clang-format Sublime Text extension. 2013-11-08 22:46:56 +00:00
clang-format.el
clang-format.py clang-format: Fix vim-integration for empty files. 2014-05-22 11:37:05 +00:00
git-clang-format clang-format: Add proto files and JavaScript to git-clang-format. 2014-04-09 09:22:35 +00:00