llvm-project/clang/tools
Eric Liu a992afe809 Make clang-format remove duplicate headers when sorting #includes.
Summary: When sorting #includes, #include directives that have the same text will be deduplicated when sorting #includes, and only the first #include in the duplicate #includes remains. If the `Cursor` is provided and put on a deleted #include, it will be put on the remaining #include in the duplicate #includes.

Reviewers: djasper

Subscribers: cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D23274

llvm-svn: 278206
2016-08-10 09:32:23 +00:00
..
arcmt-test [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
c-arcmt-test Remove autoconf support 2016-01-26 21:30:40 +00:00
c-index-test [c-index-test] Make sure to check that clang_Cursor_getNumTemplateArguments did not return -1. 2016-07-30 02:20:21 +00:00
clang-check Frontend: Simplify ownership model for clang's output streams. 2016-07-15 00:55:40 +00:00
clang-format Make clang-format remove duplicate headers when sorting #includes. 2016-08-10 09:32:23 +00:00
clang-format-vs clang-format sort include use the source file name to determine the 2016-02-10 12:42:58 +00:00
clang-fuzzer Add missing header in ClangFuzzer (after r275882 cleanup) 2016-07-18 20:33:09 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
driver [cc1as] Add MCTargetOptions argument to createAsmBackend 2016-07-25 17:18:44 +00:00
libclang [OpenMP] Sema and parsing for 'teams distribute' pragma 2016-08-05 14:37:37 +00:00
scan-build scan-build: Add an option to show the description in the list of defect 2016-08-01 08:04:45 +00:00
scan-build-py [analyzer] Fix execution permissions for the scan-build-py scripts. 2016-08-01 10:55:59 +00:00
scan-view Remove autoconf support 2016-01-26 21:30:40 +00:00
CMakeLists.txt Tweak CMakeLists not for libclang to depend on the variable CLANG_TOOL_EXTRA_BUILD. 2016-03-03 11:09:43 +00:00