[clang] [clang][DependencyScanning] Implementation of `CompilerInstanceWithContext` to Improve By-Name Queries (PR #164345)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 23 11:13:06 PDT 2025
================
@@ -87,6 +88,9 @@ class DependencyCollector {
bool IsSystem, bool IsModuleFile,
bool IsMissing);
+ /// @return the PPCallback this collector added to the Preprocessor.
+ virtual PPCallbacks *getPPCallbacks() { return nullptr; };
----------------
jansvoboda11 wrote:
Do we need this new interface? It's only implemented by single derived class that we have available in the spot where we call `getPPCallbacks()`.
https://github.com/llvm/llvm-project/pull/164345
More information about the cfe-commits
mailing list