[clang] [clang] Support header shadowing diagnostics in Clang header search (PR #162491)
Jinjie Huang via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 8 08:32:07 PDT 2025
================
@@ -462,6 +462,9 @@ OptionalFileEntryRef HeaderSearch::getFileAndSuggestModule(
return std::nullopt;
}
+ if (!NeedSuggest)
----------------
Jinjie-Huang wrote:
Only suggest the module during the first lookup, consistent with the baseline
https://github.com/llvm/llvm-project/pull/162491
More information about the cfe-commits
mailing list