[clang] [C23] Fix typeof handling in enum declarations (PR #146394)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 3 07:23:02 PDT 2025
AaronBallman wrote:
> Since we’re on to C++ support now, here’s one more fun case:
>
> ```c++
> class A {}; A a;
> class B : typeof(A) {};
> class C : typeof(a) {};
> ```
Good test cases, but let's handle C++ separately to keep the patch reasonable?
https://github.com/llvm/llvm-project/pull/146394
More information about the cfe-commits
mailing list