[clang] [C23] Fix typeof handling in enum declarations (PR #146394)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 3 07:13:55 PDT 2025


yronglin wrote:

> ```c++
> typeof(int){} x; // Probably parsed as typeof(int{})
> ```

GCC reject this https://godbolt.org/z/YEdnGh8T5

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


More information about the cfe-commits mailing list