[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 01:56:38 PDT 2016


ioeric added inline comments.

================
Comment at: include/clang/Format/Format.h:551
@@ +550,3 @@
+  /// sorting ``#includes``.
+  bool DeduplicateIncludes;
+
----------------
Sounds good to me. I'll get rid of the option then.


https://reviews.llvm.org/D23274





More information about the cfe-commits mailing list