Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to...
authorArtem Dergachev <artem.dergachev@gmail.com>
Wed, 6 Jan 2021 14:35:09 +0000 (06:35 -0800)
committerArtem Dergachev <artem.dergachev@gmail.com>
Thu, 7 Jan 2021 08:28:22 +0000 (00:28 -0800)
commitd2ddc694ff94743d9735aaf07edcaf6db8aaca04
treebbf2cbdf1b8b5f2e1cda8f84d6924cef899dfdd2
parentc3529a5b0806843e75f0b6d9a83bb36de70b5ae6
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.
18 files changed:
clang/include/clang/Analysis/CrossTUAnalysisHelper.h [new file with mode: 0644]
clang/include/clang/Analysis/PathDiagnosticConsumers.def [new file with mode: 0644]
clang/include/clang/Analysis/PathDiagnosticConsumers.h [moved from clang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h with 78% similarity]
clang/include/clang/CrossTU/CrossTranslationUnit.h
clang/include/clang/StaticAnalyzer/Core/Analyses.def
clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
clang/include/clang/module.modulemap
clang/lib/Analysis/CMakeLists.txt
clang/lib/Analysis/HTMLPathDiagnosticConsumer.cpp [moved from clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp with 91% similarity]
clang/lib/Analysis/PlistHTMLPathDiagnosticConsumer.cpp [new file with mode: 0644]
clang/lib/Analysis/PlistPathDiagnosticConsumer.cpp [moved from clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp with 96% similarity]
clang/lib/Analysis/SarifPathDiagnosticConsumer.cpp [moved from clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp with 93% similarity]
clang/lib/Analysis/TextPathDiagnosticConsumer.cpp [moved from clang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp with 79% similarity]
clang/lib/CrossTU/CrossTranslationUnit.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/StaticAnalyzer/Core/CMakeLists.txt
clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp