[PATCH] clang-check: Enable specification of additional compiler arguments
Alexander Kornienko
alexfh at google.com
Wed Jun 5 08:25:54 PDT 2013
================
Comment at: tools/clang-check/ClangCheck.cpp:144
@@ +143,3 @@
+ CommandLineArguments::iterator I;
+ if (Pos == END)
+ I = Return.end();
----------------
I'd put {} around the 'true' branch for consistency. Or changed 'false' branch to one statement: I = Return.begin() + 1; (I hope this should work?)
http://llvm-reviews.chandlerc.com/D919
More information about the cfe-commits
mailing list