[clang] [clang][Dependency Scanning] Report Exported Modules during Scanning (PR #137421)

Cyndy Ishida via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 29 09:06:53 PDT 2025


================
@@ -183,7 +192,7 @@ struct ModuleDeps {
   ///
   /// This may include modules with a different context hash when it can be
   /// determined that the differences are benign for this compilation.
-  std::vector<ModuleID> ClangModuleDeps;
+  std::vector<ExtendedModuleID> ClangModuleDeps;
----------------
cyndyishida wrote:

Why is whether a module is `Exported` encoded here instead of directly as an attribute in `ModuleDeps`?
Is it that clients need to know all the modules that export a given module? 


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


More information about the cfe-commits mailing list