[PATCH] D23274: Add an style option "DeduplicateIncludes" to clang-format to remove duplicate headers when sorting #includes.

Eric Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 10 02:05:10 PDT 2016


ioeric updated this revision to Diff 67484.
ioeric added a comment.

- Always deduplicate when sorting includes. Get rid of the option.


https://reviews.llvm.org/D23274

Files:
  lib/Format/Format.cpp
  test/Format/remove-duplicate-includes.cpp
  tools/clang-format/ClangFormat.cpp
  unittests/Format/SortIncludesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23274.67484.patch
Type: text/x-patch
Size: 10687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160810/0a61de04/attachment.bin>


More information about the cfe-commits mailing list