[clang] [clang-tools-extra] Reapply "[Clang][Sema] Diagnose class member access expressions naming non-existent members of the current instantiation prior to instantiation in the absence of dependent base classes (#84050)" (PR #90152)

Krystian Stasiowski via cfe-commits cfe-commits at lists.llvm.org
Mon May 13 05:47:54 PDT 2024


sdkrystian wrote:

Repro:
```cpp
template<typename T>
struct Typo {
  Typo(const Typo& t) {   
    t->typo; // error
    t->Typp; // error
    t->Tzpo; // error
    t->ty; // ok
  }
};
```

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


More information about the cfe-commits mailing list