@@ -881,7 +881,7 @@ diagnoseFrameworkInclude(DiagnosticsEngine &Diags, SourceLocation IncludeLoc,
881881 << IncludeFilename;
882882}
883883
884- void HeaderSearch::DiagnoseHeaderShadowing (
884+ void HeaderSearch::diagnoseHeaderShadowing (
885885 StringRef Filename, OptionalFileEntryRef FE, bool &DiagnosedShadowing,
886886 SourceLocation IncludeLoc, ConstSearchDirIterator FromDir,
887887 ArrayRef<std::pair<OptionalFileEntryRef, DirectoryEntryRef>> Includers,
@@ -1024,7 +1024,7 @@ OptionalFileEntryRef HeaderSearch::LookupFile(
10241024 if (OptionalFileEntryRef FE = getFileAndSuggestModule (
10251025 TmpDir, IncludeLoc, IncluderAndDir.second , IncluderIsSystemHeader,
10261026 RequestingModule, SuggestedModule)) {
1027- DiagnoseHeaderShadowing (Filename, FE, DiagnosedShadowing, IncludeLoc,
1027+ diagnoseHeaderShadowing (Filename, FE, DiagnosedShadowing, IncludeLoc,
10281028 FromDir, Includers, isAngled,
10291029 &IncluderAndDir - Includers.begin (), nullptr );
10301030 if (!Includer) {
@@ -1161,7 +1161,7 @@ OptionalFileEntryRef HeaderSearch::LookupFile(
11611161 if (!File)
11621162 continue ;
11631163
1164- DiagnoseHeaderShadowing (Filename, File, DiagnosedShadowing, IncludeLoc,
1164+ diagnoseHeaderShadowing (Filename, File, DiagnosedShadowing, IncludeLoc,
11651165 FromDir, Includers, isAngled, -1 , It);
11661166
11671167 CurDir = It;
0 commit comments