[PATCH] D67422: [analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis.
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 11 11:24:55 PDT 2019
NoQ marked an inline comment as done.
NoQ added inline comments.
================
Comment at: clang/include/clang/Analysis/PathDiagnosticConsumers.h:37
const cross_tu::CrossTranslationUnitContext &CTU);
-#include "clang/StaticAnalyzer/Core/Analyses.def"
+#include "clang/Analysis/PathDiagnosticConsumers.def"
----------------
gribozavr wrote:
> Does this code declare e.g., createPlistDiagnosticConsumer? That function is defined in libStaticAnalyzer. Declaring it libAnalysis is not appropriate, and effectively introduces a layering violation. Users who link against libAnalysis will get link errors if they don't link against libStaticAnalyzer.
>
Oh crap, i forgot to move them.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67422/new/
https://reviews.llvm.org/D67422
More information about the cfe-commits
mailing list