[PATCH] D21323: [clang-format] do not add existing includes.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 14 07:12:34 PDT 2016
ioeric added inline comments.
================
Comment at: unittests/Format/CleanupTest.cpp:701
@@ +700,3 @@
+ std::string Code = "#include \"a.h\"\n#include <vector>\n";
+ std::string Expected = "#include \"a.h\"\n#include \"vector\"\n"
+ "#include <vector>\n#include <a.h>\n";
----------------
djasper wrote:
> Is this really what we want?
I'm not sure... this might not be the best behavior. FIXME added.
http://reviews.llvm.org/D21323
More information about the cfe-commits
mailing list