aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2000-03-15 00:46:47 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-03-15 00:46:47 +0000
commit2d926395014049357f052b3f708517c9ae66bb50 (patch)
tree639313ef4f3848c75a406d03af007a220603e045
parent5c24fba69a24164f2d99c8a540aca311427dd5b8 (diff)
downloadgcc-2d926395014049357f052b3f708517c9ae66bb50.zip
gcc-2d926395014049357f052b3f708517c9ae66bb50.tar.gz
gcc-2d926395014049357f052b3f708517c9ae66bb50.tar.bz2
cp-tree.h: Tweak documentation.
* cp-tree.h: Tweak documentation. * class.c (build_vbase_pointer_fields): Layout the fields, too. (avoid_overlap): Remove. (get_binfo_offset_as_int): New function. (dfs_serach_base_offsets): Likewise. (layout_nonempty_base_or_field): Likewise. (build_base_field): Layout fields here. Avoid placing two objects of the same type at the same address, under the new ABI. (build_base_fields): Adjust accordingly. (create_vtable_ptr): Return the new field, but don't attach it to TYPE_FIELDS. (remove_base_field): Remove. (remove_base_fields): Remove. (layout_basetypes): Adjust accordingly. (layout_class_type): Call layout_field for each field, rather than just making a wholesale call to layout_type. From-SVN: r32550
-rw-r--r--gcc/cp/cp-tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 4494512..5772d38 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -1578,8 +1578,8 @@ struct lang_type
which uses this must define what exactly this slot is used for. */
#define CLASSTYPE_SEARCH_SLOT(NODE) (TYPE_LANG_SPECIFIC(NODE)->search_slot)
-/* These are the size, mode and alignment of the type without its
- virtual base classes, for when we use this type as a base itself. */
+/* These are the size and alignment of the type without its virtual
+ base classes, for when we use this type as a base itself. */
#define CLASSTYPE_SIZE(NODE) (TYPE_LANG_SPECIFIC(NODE)->size)
#define CLASSTYPE_SIZE_UNIT(NODE) (TYPE_LANG_SPECIFIC(NODE)->size_unit)
#define CLASSTYPE_ALIGN(NODE) (TYPE_LANG_SPECIFIC(NODE)->align)