cp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments.
authorMark Mitchell <mark@codesourcery.com>
Tue, 21 Dec 1999 02:11:10 +0000 (02:11 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 21 Dec 1999 02:11:10 +0000 (02:11 +0000)
commit3ef397c1c6defdd895e5b1f41931176fe7706133
tree1baa694ed75cd886a2915d1c87150fa270a1062e
parent4c6b7393dcb6c97b57b5268dc84542369d5b367f
cp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments.

1999-12-20  Mark Mitchell  <mark@codesourcery.com>

* cp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments.
(CLASSTYPE_HAS_PRIMARY_BASE_P): New macro.
(CLASSTYPE_PRIMARY_BINFO): Likewise.
* class.c (check_methods): Don't set TYPE_HAS_COMPLEX_INIT_REF,
TYPE_NEEDS_CONSTRUCTING, and CLASSTYPE_NON_AGGREGATE here.
(check_bases_and_members): Set them here instead.
(create_vtable_ptr): New function, split out from ...
(finish_struct_1): ... here.  Use it.  Tidy.  Use
CLASSTYPE_HAS_PRIMARY_BASE_P and CLASSTYPE_PRIMARY_BINFO.
* search.c (dfs_init_vbase_pointers): Handle seeing TYPE_VFIELD as
the first field in the class.
* tree.c (layout_basetypes): Use CLASSTYPE_N_BASECLASSES.  Handle
seeing TYPE_VFIELD as the first field in the class.

From-SVN: r31042
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/search.c
gcc/cp/tree.c