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

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 16:59:10 PST 2024


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

I think what I was asking, was do we have an equivalent C++ test that verifies in a `.cpp` file that we also do not obtain a diagnostic for this.

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


More information about the cfe-commits mailing list