cp-tree.h (lang_type): Add documentation.
* cp-tree.h (lang_type): Add documentation. * decl2.c (handle_class_head): Create template declarations here, as appropriate. * parse.y (class_head): Return whether or not we entered a new scope, as well as the type named. (named_class_head): Likewise. (named_complex_class_head_sans_basetype): Likewise. (structsp): Adjust accordingly. Pop scope when required. * parse.c: Regenerated. * pt.c (check_default_tmpl_args): Robustify. (redeclare_class_template): Likewise. (instantiate_class_template): An instantiation of an anonymous union is itself an anonymous union. * semantics.c (begin_class_definition): Don't create template declarations here. From-SVN: r26475
Showing
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
gcc/testsuite/g++.old-deja/g++.pt/union2.C
0 → 100644
Please
register
or
sign in
to comment