[clang] [clang][DependencyScanning] Implementation of `CompilerInstanceWithContext` to Improve By-Name Queries (PR #164345)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 21 10:22:11 PDT 2025


================
@@ -149,6 +151,52 @@ std::shared_ptr<ModuleDepCollector> initializeScanInstanceDependencyCollector(
     DependencyActionController &Controller,
     PrebuiltModulesAttrsMap PrebuiltModulesASTMap,
     llvm::SmallVector<StringRef> &StableDirs);
+
+class CompilerInstanceWithContext {
----------------
jansvoboda11 wrote:

Does this need to be in the header file? The worker holds it in a `unique_ptr` and we don't expose it in the public API.

https://github.com/llvm/llvm-project/pull/164345


More information about the cfe-commits mailing list