diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2020-10-13 12:03:04 -0700 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2020-10-13 12:03:04 -0700 |
commit | 77bb3ebebbca13f0648beb433fbd1b06ba95a19c (patch) | |
tree | 7bc0202a20d83793696c7a9bf50e75c7414d6bb1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3f2386de6325157324a0dc2ae00ef3db3a144563 (diff) | |
download | llvm-77bb3ebebbca13f0648beb433fbd1b06ba95a19c.zip llvm-77bb3ebebbca13f0648beb433fbd1b06ba95a19c.tar.gz llvm-77bb3ebebbca13f0648beb433fbd1b06ba95a19c.tar.bz2 |
Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis."
This reverts commit 44b7cf2983b6a8373c99a9b254f8c3f944e03f35.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 747b8a9..a4c56cc 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -301,7 +301,7 @@ static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, AnalysisDiagClients Value = llvm::StringSwitch<AnalysisDiagClients>(Name) #define ANALYSIS_DIAGNOSTICS(NAME, CMDFLAG, DESC, CREATFN) \ .Case(CMDFLAG, PD_##NAME) -#include "clang/Analysis/PathDiagnosticConsumers.def" +#include "clang/StaticAnalyzer/Core/Analyses.def" .Default(NUM_ANALYSIS_DIAG_CLIENTS); if (Value == NUM_ANALYSIS_DIAG_CLIENTS) { Diags.Report(diag::err_drv_invalid_value) |