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
This commit is contained in:
parent
5c24fba69a
commit
2d92639501
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user