alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.
================
Comment at: clang-tidy/ClangTidy.cpp:536
+ DiagnosticConsumer *DiagConsumer) override {
+ Invocation->getFrontendOpts().ProgramAction = frontend::RunAnalysis;
+ return FrontendActionFactory::runInvocation(
----------------
I would add a comment that we only do this to define the analyzer-specific
macro, not to actually use the analyzer frontend action.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D46325
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits