cp-tree.h (struct lang_type): Add anon_union field.
authorJason Merrill <jason@yorick.cygnus.com>
Sat, 6 Mar 1999 17:41:36 +0000 (17:41 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 6 Mar 1999 17:41:36 +0000 (12:41 -0500)
commit0dd3962da5d80217c1cb377ce3d89e197731a33c
treebb5f97adf94cf69be51009038a3222072a5d44a7
parent4b523fc4951bf74a441c9a4c08bd4ab1428b3e3c
cp-tree.h (struct lang_type): Add anon_union field.

* cp-tree.h (struct lang_type): Add anon_union field.
(ANON_UNION_TYPE_P): Use it instead of examining type.
(SET_ANON_UNION_TYPE_P): New macro.
* decl.c (check_tag_decl): Use it.
* search.c (compute_access): Handle non-type contexts earlier, and
handle NULL_TREE.
* tree.c (build_exception_variant): Use copy_to_permanent.

From-SVN: r25618
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/search.c
gcc/cp/tree.c