[clang] [clang][modulemap] Lazily load module maps by header name (PR #181916)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 18 14:04:45 PST 2026
================
@@ -1360,6 +1370,26 @@ bool ModuleMap::parseModuleMapFile(FileEntryRef File, bool IsSystem,
std::make_unique<modulemap::ModuleMapFile>(std::move(*MaybeMMF)));
const modulemap::ModuleMapFile &MMF = *ParsedModuleMaps.back();
std::vector<const modulemap::ExternModuleDecl *> PendingExternalModuleMaps;
+ std::function<void(const modulemap::ModuleDecl &)> CollectExternDecls =
----------------
jansvoboda11 wrote:
Did we not recurse into extern module maps prior to this patch?
https://github.com/llvm/llvm-project/pull/181916
More information about the cfe-commits
mailing list