================
@@ -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,
----------------
Bigcheese wrote:

Yeah, originally there were only the 2 callers and it's a static function so it 
made sense to just change the API rather than add an extra `Imp` function.

https://github.com/llvm/llvm-project/pull/181916
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to