djasper added a comment.

Lets get this in for now. We can always remove it if we think it is no longer 
useful.


================
Comment at: unittests/Format/CleanupTest.cpp:692
@@ +691,3 @@
+TEST_F(CleanUpReplacementsTest, SkipExistingHeaders) {
+  std::string Code = "#include \"a.h\"\n#include <vector>\n";
+  std::string Expected = "#include \"a.h\"\n#include <vector>\n";
----------------
Please also add a test with quoted #includes as well as combined forms 
(inserting <vector> when there already is "vector" and vice versa).


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