[clang] [clang-tools-extra] [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 (PR #84050)

Krystian Stasiowski via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 8 06:37:03 PDT 2024


sdkrystian wrote:

> Sorry, I'm not really getting the question here. Obviously that 2nd error is invalid and we shouldn't be emitting it, and doing the `::z` lookup inside of `A` seems wrong to me. But I'm not sure I get the issue.

We currently emit the second error. I'm asking if we shouldn't emit it (and your response suggests that we shouldn't)

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


More information about the cfe-commits mailing list