cp-tree.h
174 KB
-
re PR c++/17542 (Visibility attribute ignored when it precedes class head) · 3cabd8f9
PR c++/17542 * cp-tree.h (class_key_or_enum_as_string): Declare. * error.c (class_key_or_enum): Rename to class_key_or_enum_as_string and remove static qualifier. * decl.c (shadow_tag): Warn about ignored attributes in class/struct/ union/enum declaration. * g++.dg/ext/attrib18.C: New test. From-SVN: r89898
Matt Austern committed