================
@@ -1698,12 +1838,9 @@ HeaderSearch::findResolvedModulesForHeader(FileEntryRef
File) const {
return ModMap.findResolvedModulesForHeader(File);
}
-static bool suggestModule(HeaderSearch &HS, FileEntryRef File,
- Module *RequestingModule,
+static bool suggestModule(HeaderSearch &HS, ModuleMap::KnownHeader Module,
----------------
jansvoboda11 wrote:
Would it make sense to keep the old function around and look up the
`KnownHeader` in it, to keep the existing callers unchanged? I guess there's
only one caller outside of this function, so there's not much benefit?
https://github.com/llvm/llvm-project/pull/181916
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits