Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make clang-format remove duplicate headers when sorting #includes. | Eric Liu | 2016-08-10 | 1 | -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 |