ioeric added a comment.

It should be quite straight-forward to de-duplicate #includes in the same block 
in `sortIncludes`. I'm happy to add this into `sortIncludes`, but I'm not sure 
if this is a behavior users would expect from clang-format since it deletes 
code?

And maybe duplicated headers are not that common in the first place? I would 
rather rely on users (like #include_fixer) to make sure there is no duplicated 
#include.


http://reviews.llvm.org/D21323



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to