[PATCH] D30766: Add support for attribute "enum_extensibility"

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 13 09:44:01 PDT 2017


ahatanak added inline comments.


================
Comment at: test/Sema/enum-attr.c:27
+
+enum __attribute__((enum_extensibility(arg1))) EnumInvalidArg { // expected-warning{{'enum_extensibility' attribute argument not supported: 'arg1'}}
+  G
----------------
arphaman wrote:
> Should this be an error instead?
Yes, I agree.


https://reviews.llvm.org/D30766





More information about the cfe-commits mailing list