diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2000-04-07 16:57:48 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2000-04-07 16:57:48 +0000 |
commit | 7b820993a5a5523ab45d5d3bd967a11020895809 (patch) | |
tree | 77a699e79f234c6a6159445273384e13d04ec718 /gcc/cp/inc/cxxabi.h | |
parent | a9e6777fb2b223619cac9bd838b924dad53498c2 (diff) | |
download | gcc-7b820993a5a5523ab45d5d3bd967a11020895809.zip gcc-7b820993a5a5523ab45d5d3bd967a11020895809.tar.gz gcc-7b820993a5a5523ab45d5d3bd967a11020895809.tar.bz2 |
Rename abi::__vmi_class_type_info members.
* inc/cxxabi.h (__vmi_class_type_info): Rename details, n_bases,
base_list, detail_masks members to vmi_flags, vmi_base_count,
vmi_bases and vmi_flags_masks respectively.
(__vmi_class_type_info::vmi_flags_masks): Rename
details_unknown_mask to flags_unknown_mask.
* tinfo.cc (__class_type_info::do_upcast): Adjust.
(__vmi_class_type_info::do_find_public_src): Adjust.
(__vmi_class_type_info::do_dyncast): Adjust.
(__vmi_class_type_info::do_upcast): Adjust.
From-SVN: r33004
Diffstat (limited to 'gcc/cp/inc/cxxabi.h')
-rw-r--r-- | gcc/cp/inc/cxxabi.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cp/inc/cxxabi.h b/gcc/cp/inc/cxxabi.h index 1bc7782..e0c1531 100644 --- a/gcc/cp/inc/cxxabi.h +++ b/gcc/cp/inc/cxxabi.h @@ -331,9 +331,9 @@ protected: class __vmi_class_type_info : public __class_type_info { /* abi defined member variables */ public: - int details; /* details about the class heirarchy */ - int n_bases; /* number of direct bases */ - __base_class_info base_list[1]; /* array of bases */ + int vmi_flags; /* details about the class heirarchy */ + int vmi_base_count; /* number of direct bases */ + __base_class_info vmi_bases[1]; /* array of bases */ /* The array of bases uses the trailing array struct hack so this class is not constructable with a normal constructor. It is internally generated by the compiler. */ @@ -343,19 +343,19 @@ public: virtual ~__vmi_class_type_info (); public: explicit __vmi_class_type_info (const char *n_, - int details_) - : __class_type_info (n_), details (details_), n_bases (0) + int flags_) + : __class_type_info (n_), vmi_flags (flags_), vmi_base_count (0) { } /* implementation defined types */ public: - enum detail_masks { + enum vmi_flags_masks { non_diamond_repeat_mask = 0x1, /* distinct instance of repeated base */ diamond_shaped_mask = 0x2, /* diamond shaped multiple inheritance */ non_public_base_mask = 0x4, /* has non-public direct or indirect base */ public_base_mask = 0x8, /* has public base (direct) */ - details_unknown_mask = 0x10 + flags_unknown_mask = 0x10 }; /* implementation defined member functions */ |