[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:43 PST 2026
================
@@ -372,6 +381,10 @@ class HeaderSearch {
/// map their keys to the SearchDir index of their header map.
void indexInitialHeaderMaps();
+ /// Build the header cache for a directory's module map.
+ void buildHeaderCache(DirectoryEntryRef Dir,
+ ModuleMapDirectoryState &MMState);
----------------
jansvoboda11 wrote:
What's the header cache? Do you mean the new members of `ModuleMapDirectoryState`? Some clarification here would be useful.
https://github.com/llvm/llvm-project/pull/181916
More information about the cfe-commits
mailing list