[clang] [Modules] Fix an identifier hiding a function-like macro definition. (PR #135471)

Volodymyr Sapsai via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 14:15:48 PDT 2025


================
@@ -2419,6 +2422,9 @@ namespace {
       // declarations it needs.
       ++NumIdentifierLookupHits;
       Found = *Pos;
+      if (Trait.hasMoreInformationInDependencies())
+        // Look for the identifier in extra modules as they contain more info.
+        return false;
----------------
vsapsai wrote:

Done.

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


More information about the cfe-commits mailing list