[clang] [clang][Dependency Scanning] Report What a Module Exports during Scanning (PR #137421)

Cyndy Ishida via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 30 10:38:52 PDT 2025


================
@@ -115,6 +115,15 @@ struct ModuleID {
   }
 };
 
+struct ExtendedModuleID {
----------------
cyndyishida wrote:

for that `using DepInfo = std::pair<ModuleID, bool>` achieves the same thing, right? 
& you can unpack it like `auto [MID, isExported] = ClangModuleDeps.first()`
I don't feel that strongly, but I do think it's better to leverage the stl when possible.


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


More information about the cfe-commits mailing list