[clang] [Clang][Sema] Fix type of enumerators in incomplete enumerations (PR #84068)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 04:47:38 PST 2024


================
@@ -6,7 +6,9 @@ typedef enum EnumA {
 } EnumA;
 
 enum EnumB {
-  B
+  B,
----------------
AaronBallman wrote:

It might be good to capture some of what I wrote in the review summary as a comment here so it's clear why this is correct in both C and C++.

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


More information about the cfe-commits mailing list