[clang] [Sema] Reject unqualified lookup of local nested class name (PR #192678)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 19 21:11:24 PDT 2026
================
----------------
arrowten wrote:
@zwuis I guess inside the function scope, the lookup process goes through more contexts which accidentally allowed A::B to be seen as B (the reason for passing). The change fixes this by explicitly ignoring names coming from class scopes during such lookups, making the function scope behave correctly too.
https://github.com/llvm/llvm-project/pull/192678
More information about the cfe-commits
mailing list