re PR c++/43407 (Specifying visibility attribute of C++0x enum class emits warning)
authorJason Merrill <jason@redhat.com>
Thu, 21 Jan 2016 20:26:02 +0000 (15:26 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 Jan 2016 20:26:02 +0000 (15:26 -0500)
commit97ca3d0d59208beb76920dcfe33aeb921e396042
treee14478b90970df2620dd61b06cdf616e89318b4d
parented478de1a4b9a313c4f162e214440bac948600f9
re PR c++/43407 (Specifying visibility attribute of C++0x enum class emits warning)

PR c++/43407
* decl.c (start_enum): Add attributes parameter.
* parser.c (cp_parser_enum_specifier): Pass it.
* pt.c (lookup_template_class_1): Pass it.
* cp-tree.h: Adjust.

From-SVN: r232701
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/abi/abi-tag15.C
gcc/testsuite/g++.dg/cpp0x/enum31.C [new file with mode: 0644]