diff options
author | Alexander Belyaev <pifon@google.com> | 2021-01-08 14:17:18 +0100 |
---|---|---|
committer | Alexander Belyaev <pifon@google.com> | 2021-01-08 14:17:18 +0100 |
commit | 9c4b2225b24de07a728715ce20238803370413ea (patch) | |
tree | 8e9e3160d351b7573bc3e73272f15e9282af799c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 267ff7901c745dc903d55599240464ebc4c0bda3 (diff) | |
download | llvm-9c4b2225b24de07a728715ce20238803370413ea.zip llvm-9c4b2225b24de07a728715ce20238803370413ea.tar.gz llvm-9c4b2225b24de07a728715ce20238803370413ea.tar.bz2 |
Revert "Revert "Revert "Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis."""""
This reverts commit 6b0ee02747ed22d41e175d15f27025183341e6f8.
Circular dependency again.
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 348f558..6795151 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/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) |