[cfe-commits] [PATCH] Add -fixit option to clang-check
Manuel Klimek
reviews at llvm-reviews.chandlerc.com
Mon Oct 1 03:12:47 PDT 2012
================
Comment at: tools/clang-check/ClangCheck.cpp:135
@@ -78,3 +134,3 @@
int main(int argc, const char **argv) {
clang_check::ClangCheckActionFactory Factory;
CommonOptionsParser OptionsParser(argc, argv);
----------------
I'd change the scope to after if (Fixit).
================
Comment at: tools/clang-check/ClangCheck.cpp:107
@@ +106,3 @@
+public:
+ virtual bool BeginSourceFileAction(clang::CompilerInstance& CI, StringRef Filename) {
+ FixItOpts.reset(new FixItOptions);
----------------
80 columns.
http://llvm-reviews.chandlerc.com/D51
More information about the cfe-commits
mailing list