cp-tree.h (lang_type): Add documentation.
authorMark Mitchell <mark@codesourcery.com>
Thu, 15 Apr 1999 17:52:25 +0000 (17:52 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 15 Apr 1999 17:52:25 +0000 (17:52 +0000)
commit3d7de1fa03bd7dd6c5b9826cb14ea4db2ea03c6c
tree353c00ef2b3c60285c7f29faa543d98b5a7a5eca
parent08967681aff5889301500fe0d126c32c1a95a0ac
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
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.other/lookup13.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/union2.C [new file with mode: 0644]