diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2020-11-15 17:26:22 -0800 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2020-11-17 18:45:09 -0800 |
commit | 41bcc05e2a4e3062eb12ac6e071bc835decc38f5 (patch) | |
tree | c28592b24b6ded9be4db8f716fec734cfeded167 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0139c8af8da7a89c02ed802df46492f5caddb41b (diff) | |
download | llvm-41bcc05e2a4e3062eb12ac6e071bc835decc38f5.zip llvm-41bcc05e2a4e3062eb12ac6e071bc835decc38f5.tar.gz llvm-41bcc05e2a4e3062eb12ac6e071bc835decc38f5.tar.bz2 |
Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis.""
This reverts commit 77bb3ebebbca13f0648beb433fbd1b06ba95a19c.
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 a9bc48f..b8d4ca8 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -373,7 +373,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/StaticAnalyzer/Core/Analyses.def" +#include "clang/Analysis/PathDiagnosticConsumers.def" .Default(NUM_ANALYSIS_DIAG_CLIENTS); if (Value == NUM_ANALYSIS_DIAG_CLIENTS) { Diags.Report(diag::err_drv_invalid_value) |