[clang] [Sema] Reject unqualified lookup of local nested class name (PR #192678)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 19 03:18:03 PDT 2026
================
----------------
zwuis wrote:
I meant, Clang already rejects
```cpp
struct A { struct B; };
struct A::B {};
B b;
```
correctly. How it rejects? Can we use similar logic to handle
```cpp
void f() {
struct A { struct B; };
struct A::B {};
B b;
}
```
?
https://github.com/llvm/llvm-project/pull/192678
More information about the cfe-commits
mailing list