summaryrefslogtreecommitdiffstats
path: root/clang/test/Format/remove-duplicate-includes.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make clang-format remove duplicate headers when sorting #includes.Eric Liu2016-08-101-0/+14
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
OpenPOWER on IntegriCloud