================
@@ -359,11 +359,11 @@ Module *HeaderSearch::lookupModule(StringRef ModuleName,
StringRef SearchName,
// checked
DirectoryEntryRef NormalDir = *Dir.getDirRef();
// Search for a module map file in this directory.
- if (loadModuleMapFile(NormalDir, IsSystem,
- /*IsFramework*/false) == LMM_NewlyLoaded) {
+ if (parseModuleMapFile(NormalDir, IsSystem,
+ /*IsFramework*/ false) == MMR_NewlyProcessed) {
// We just loaded a module map file; check whether the module is
// available now.
----------------
jansvoboda11 wrote:
```suggestion
// We just parsed a module map file; check whether the module can be
// loaded now.
```
https://github.com/llvm/llvm-project/pull/132853
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits