diff options
| author | Ted Kremenek <kremenek@apple.com> | 2014-08-27 15:14:47 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2014-08-27 15:14:47 +0000 |
| commit | 4d1692f6137db510ff11b904562d6b2a8d79b223 (patch) | |
| tree | ea23c88a3b049883e90c30dcea5eb2e34818f505 /clang-tools-extra/clang-tidy/ClangTidy.cpp | |
| parent | eeccb30b942fbfd220990cbf52335559cdc04959 (diff) | |
| download | bcm5719-llvm-4d1692f6137db510ff11b904562d6b2a8d79b223.tar.gz bcm5719-llvm-4d1692f6137db510ff11b904562d6b2a8d79b223.zip | |
Adjust call 'CreateAnalysisConsumer' due to API tweak.
llvm-svn: 216551
Diffstat (limited to 'clang-tools-extra/clang-tidy/ClangTidy.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/ClangTidy.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/ClangTidy.cpp b/clang-tools-extra/clang-tidy/ClangTidy.cpp index 9f2ffb10b1b..f74077037d2 100644 --- a/clang-tools-extra/clang-tidy/ClangTidy.cpp +++ b/clang-tools-extra/clang-tidy/ClangTidy.cpp @@ -241,9 +241,7 @@ ClangTidyASTConsumerFactory::CreateASTConsumer( AnalyzerOptions->AnalyzeNestedBlocks = true; AnalyzerOptions->eagerlyAssumeBinOpBifurcation = true; std::unique_ptr<ento::AnalysisASTConsumer> AnalysisConsumer = - ento::CreateAnalysisConsumer( - Compiler.getPreprocessor(), Compiler.getFrontendOpts().OutputFile, - AnalyzerOptions, Compiler.getFrontendOpts().Plugins); + ento::CreateAnalysisConsumer(Compiler); AnalysisConsumer->AddDiagnosticConsumer( new AnalyzerDiagnosticConsumer(Context)); Consumers.push_back(std::move(AnalysisConsumer)); |

