[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
================
@@ -1858,7 +2020,7 @@ HeaderSearch::parseAndLoadModuleMapFileImpl(FileEntryRef File, bool IsSystem,
// Try to load a corresponding private module map.
if (OptionalFileEntryRef PMMFile =
- getPrivateModuleMap(File, FileMgr, Diags, !ParsedModuleMaps[File])) {
+ getPrivateModuleMap(File, FileMgr, Diags, false)) {
----------------
jansvoboda11 wrote:
Why are we disabling `Diagnose` here?
https://github.com/llvm/llvm-project/pull/181916
More information about the cfe-commits
mailing list