[llvm-bugs] [Bug 46603] Clang rejects "enum struct/class" in reference to enumeration
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 6 09:26:06 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46603
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This is a GCC bug (and until recently also a Clang bug). "enum class" can only
be used when defining an enumeration or as part of a standalone forward
declaration.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200706/54769fff/attachment.html>
More information about the llvm-bugs
mailing list