]> git.ipfire.org Git - thirdparty/gcc.git/commit
class.c (record_base_offsets): New function.
authorMark Mitchell <mark@codesourcery.com>
Wed, 22 Mar 2000 01:32:09 +0000 (01:32 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 22 Mar 2000 01:32:09 +0000 (01:32 +0000)
commit9785e4b1f32f52aad66bb8071ac0f57a77686f9f
treebb1c066b4cceecc5bc492b906102efaff5c3e7ea
parentd8b64f80a019ea0fef5edc01e34eef40d214313f
class.c (record_base_offsets): New function.

* class.c (record_base_offsets): New function.
(layout_conflict_p): Likewise.
(layout_nonempty_base_or_field): Use it.
(layout_empty_base): New function.
(build_base_field): Use it.
(build_base_fields): Update comment.
(layout_virtual_bases): Fold in a little code form
layout_basetypes.  Use layout_empty_base.
(layout_basetypes): Remove.
(end_of_class): New function.
(layout_class_type): Use it.  Adjust.

* cp-tree.h (CLASSTYPE_VBASECLASSES): Fix typo in comment.
(fntype_p): Remove.
* search.c (dfs_skip_nonprimary_vbases_unmarkedp): Fix typo in
comment.
(dfs_skip_nonprimary_vbases_markedp): Likewise.
* typeck.c (fntype_p): Remove.

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