re PR c++/52973 (visibility attribute for class is not passed to its members)
authorJason Merrill <jason@redhat.com>
Sat, 2 Jun 2012 04:03:51 +0000 (00:03 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 2 Jun 2012 04:03:51 +0000 (00:03 -0400)
commite3c888eb0e3923981bcb914f818c29a054843d9e
treea1f209f8b5712f177fbfcf89cb917f57e6dea548
parentb691f14cc4a69541ff6915b8d0d102bb5f0b3451
re PR c++/52973 (visibility attribute for class is not passed to its members)

PR c++/52973
* parser.c (cp_parser_class_head): Apply attributes here.
* semantics.c (begin_class_definition): Not here.
* cp-tree.h: Adjust.

From-SVN: r188137
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/semantics.c
gcc/objcp/ChangeLog
gcc/objcp/objcp-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attrib14.C
gcc/testsuite/g++.dg/ext/visibility/template12.C [new file with mode: 0644]