llvm-project/clang/test/Format
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
..
adjust-indent.cpp clang-format: When a line is formatted, also format subsequence lines if their indent is off. 2015-10-28 01:08:22 +00:00
basic.cpp clang-format: Use pipes instead of temporary files for most lit tests. 2015-10-19 16:21:29 +00:00
cursor.cpp Fix clang-format test. I believe that the new behavior is better. 2015-11-23 08:50:52 +00:00
disable-format.cpp clang-format: Use pipes instead of temporary files for most lit tests. 2015-10-19 16:21:29 +00:00
disable-include-sorting.cpp clang-format: Enable #include sorting by default. 2015-11-16 12:38:56 +00:00
incomplete.cpp clang-format: Use pipes instead of temporary files for most lit tests. 2015-10-19 16:21:29 +00:00
language-detection.cpp clang-format: Use pipes instead of temporary files for most lit tests. 2015-10-19 16:21:29 +00:00
line-ranges.cpp clang-format: When a line is formatted, also format subsequence lines if their indent is off. 2015-10-28 01:08:22 +00:00
multiple-inputs-error.cpp
multiple-inputs-inplace.cpp
multiple-inputs.cpp
ranges.cpp clang-format: When a line is formatted, also format subsequence lines if their indent is off. 2015-10-28 01:08:22 +00:00
remove-duplicate-includes.cpp Make clang-format remove duplicate headers when sorting #includes. 2016-08-10 09:32:23 +00:00
style-on-command-line.cpp clang-format: Use pipes instead of temporary files for most lit tests. 2015-10-19 16:21:29 +00:00
xmloutput.cpp clang-format: Use pipes instead of temporary files for most lit tests. 2015-10-19 16:21:29 +00:00