[PATCH] [clang-tidy] Move -extra-arg handling to CommonOptionsProvider

Alexander Kornienko alexfh at google.com
Tue Nov 4 01:00:54 PST 2014


================
Comment at: lib/Tooling/CommonOptionsParser.cpp:82
@@ +81,3 @@
+  std::vector<CompileCommand> getAllCompileCommands() const override {
+    return Compilations->getAllCompileCommands();
+  }
----------------
klimek wrote:
> Do we also have to adjust here?
I think, it's used only in tests, but I see no reason not to adjust the commands here.

http://reviews.llvm.org/D6073






More information about the cfe-commits mailing list