[clang] [clang][DependencyScanning] Track modules that resolve from sysroot. (PR #130634)

Ben Langmuir via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 14 11:48:51 PDT 2025


================
@@ -835,6 +850,13 @@ void ModuleDepCollectorPP::addAllSubmoduleDeps(
   });
 }
 
+void ModuleDepCollectorPP::addClangModule(const Module *M, const ModuleID ID,
----------------
benlangmuir wrote:

How about something like "addOneModuleDep"?  If find it hard to guess from the name how this is different from e.g. `addModuleDep` which also has a similar signature. 

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


More information about the cfe-commits mailing list