https://bugs.llvm.org/show_bug.cgi?id=24297

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
 Fixed By Commit(s)|                            |d6425e2c14370ecb5e2a4be4cfd
                   |                            |ef65f8ae69bd0

--- Comment #2 from Richard Smith <[email protected]> ---
Remaining cases diagnosed in commit d6425e2c14370ecb5e2a4be4cfdef65f8ae69bd0.

<stdin>:1:8: error: reference to enumeration must use 'enum' not 'enum struct'
[-Welaborated-enum-class]
  enum struct E a;
       ^~~~~~~
<stdin>:2:8: error: reference to enumeration must use 'enum' not 'enum class'
[-Welaborated-enum-class]
  enum class F b;
       ^~~~~~
<stdin>:3:10: error: non-defining declaration of enumeration with a fixed
underlying type is only permitted as a standalone declaration; missing list of
enumerators? [-Welaborated-enum-base]
  enum G : int c;
         ^~~~~
<stdin>:4:17: error: non-defining declaration of enumeration with a fixed
underlying type is only permitted as a standalone declaration; missing list of
enumerators? [-Welaborated-enum-base]
  enum struct H : int d;
                ^~~~~
<stdin>:5:16: error: non-defining declaration of enumeration with a fixed
underlying type is only permitted as a standalone declaration; missing list of
enumerators? [-Welaborated-enum-base]
  enum class I : int e;
               ^~~~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to