diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2021-01-07 19:23:43 -0800 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2021-01-07 20:22:22 -0800 |
commit | 6b0ee02747ed22d41e175d15f27025183341e6f8 (patch) | |
tree | 45c1e33f7f171b603d1709b4cf692bea509b5a4d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2ff36e79291486b489ae26418daa1b123473b405 (diff) | |
download | llvm-6b0ee02747ed22d41e175d15f27025183341e6f8.zip llvm-6b0ee02747ed22d41e175d15f27025183341e6f8.tar.gz llvm-6b0ee02747ed22d41e175d15f27025183341e6f8.tar.bz2 |
Revert "Revert "Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis.""""
This reverts commit b12f26733a4259c90e5f387aceb9f23c35e003b8.
Fix dead include that looked like another missed circular dependency.
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 6795151..348f558 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -571,7 +571,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) |