djasper added a comment.

Can you add a test? Tests for this kind of behavior of the clang-format command 
line go in test/Format/.



================
Comment at: tools/clang-format/ClangFormat.cpp:380
+    if (Verbose.getNumOccurrences() != 0)
+        outs() << "Formatting " << FileNames[0] << '\n';
     break;
----------------
As clang-format often returns the result on stdout, maybe it'd be better to use 
errs() here?


https://reviews.llvm.org/D34824



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

Reply via email to