[PATCH] D23274: Add an style option "DeduplicateIncludes" to clang-format to remove duplicate headers when sorting #includes.
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 10 01:50:26 PDT 2016
djasper added inline comments.
================
Comment at: include/clang/Format/Format.h:551
@@ +550,3 @@
+ /// sorting ``#includes``.
+ bool DeduplicateIncludes;
+
----------------
Actually, how about we just do this unconditionally? I think people will always want it.
https://reviews.llvm.org/D23274
More information about the cfe-commits
mailing list