[PATCH] D92432: [analyzer] Add a thin abstraction layer between libCrossTU and libAnalysis.
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 11 11:09:26 PST 2020
NoQ added inline comments.
================
Comment at: clang/lib/Analysis/PlistPathDiagnosticConsumer.cpp:993
MacroLoc = LocAndUnit->first;
PPToUse = &LocAndUnit->second->getPreprocessor();
}
----------------
We were reverted because there's still a dependency on `ASTUnit` which lives in `libFrontend`. I guess i'll simplify the virtual method to return `(MacroLoc, PPToUse)` directly (?) (the old method will still remain on `CrossTranslationUnitContext`).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92432/new/
https://reviews.llvm.org/D92432
More information about the cfe-commits
mailing list