llvm-project/clang/tools/clang-format
Daniel Jasper 03a04fe95f clang-format: Separate out a language kind for ObjC.
While C(++) and ObjC are generally formatted the same way and can be
mixed, people might want to choose different styles based on the
language. This patch recognizes .m and .mm files as ObjC and also
implements a very crude detection of whether or not a .h file contains
ObjC code. This can be improved over time.

Also move most of the ObjC tests into their own test file to keep file
size maintainable.

llvm-svn: 289428
2016-12-12 12:42:29 +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 clang-format: Separate out a language kind for ObjC. 2016-12-12 12:42:29 +00:00
clang-format-bbedit.applescript Basic clang-format integration for BBEdit. 2013-05-02 17:37:36 +00:00
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.el Minor cleanups in clang-format.el. 2016-10-04 09:53:04 +00:00
clang-format.py [clang-format] Another attempt at python 3 compatibility 2016-12-10 00:54:13 +00:00
git-clang-format clang-format: Use git-ls-tree to get file mode in diff mode 2016-11-08 05:50:14 +00:00