diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2021-01-06 06:35:09 -0800 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2021-01-07 00:28:22 -0800 |
commit | d2ddc694ff94743d9735aaf07edcaf6db8aaca04 (patch) | |
tree | bbf2cbdf1b8b5f2e1cda8f84d6924cef899dfdd2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c3529a5b0806843e75f0b6d9a83bb36de70b5ae6 (diff) | |
download | llvm-d2ddc694ff94743d9735aaf07edcaf6db8aaca04.zip llvm-d2ddc694ff94743d9735aaf07edcaf6db8aaca04.tar.gz llvm-d2ddc694ff94743d9735aaf07edcaf6db8aaca04.tar.bz2 |
Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis.""
This reverts commit 5663bf201f5c444d6fb56fb1bd471bc53c17d837.
The cyclic dependency problem is addressed now.
This is the ~fifth attempt to land this change.
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 f9bce6a..57027ce 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -547,7 +547,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) |