[clang] [clang] Support header shadowing diagnostics in Clang header search (PR #162491)

Qiu Chaofan via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 20 01:50:56 PST 2025


================
@@ -465,6 +465,12 @@ class HeaderSearch {
     ExternalSource = ES;
   }
 
+  void DiagnoseHeaderShadowing(
----------------
ecnelises wrote:

nit: use small camel case for methods (https://llvm.org/docs/CodingStandards.html#name-types-functions-variables-and-enumerators-properly)

https://github.com/llvm/llvm-project/pull/162491


More information about the cfe-commits mailing list