[clang] [Sema] Reject unqualified lookup of local nested class name (PR #192678)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 18 05:50:55 PDT 2026


================

----------------
zwuis wrote:

Could you please tell how this lookup

```cpp
struct A { struct B; };
struct A::B {};
B b;
```

fails correctly? Can we use similar logic?

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


More information about the cfe-commits mailing list