diff options
author | zhanghe9702 <zhanghe9702@163.com> | 2024-03-24 16:48:56 +0800 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-04-23 10:45:50 +0000 |
commit | fa86c37a57696b9dba2d1553dbe9e913865f4209 (patch) | |
tree | d60f51e2383064a47f9d9fe1f5d57fa5bd9064ca /gcc | |
parent | 5b6c98285583130072cfa9ce84cbfd357a58c267 (diff) | |
download | gcc-fa86c37a57696b9dba2d1553dbe9e913865f4209.zip gcc-fa86c37a57696b9dba2d1553dbe9e913865f4209.tar.gz gcc-fa86c37a57696b9dba2d1553dbe9e913865f4209.tar.bz2 |
Remove redundant macro definition
gcc/rust/ChangeLog:
* backend/rust-tree.h: removing the CLASSTYPE_VBASECLASSES macro
which is duplicated three times.
Signed-off-by: Zhang He <zhanghe9702@163.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/backend/rust-tree.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/rust/backend/rust-tree.h b/gcc/rust/backend/rust-tree.h index 26c8b65..2e231ca 100644 --- a/gcc/rust/backend/rust-tree.h +++ b/gcc/rust/backend/rust-tree.h @@ -139,12 +139,6 @@ should be initialized.) */ #define CLASSTYPE_VBASECLASSES(NODE) (LANG_TYPE_CLASS_CHECK (NODE)->vbases) -/* A vector of BINFOs for the direct and indirect virtual base classes - that this type uses in a post-order depth-first left-to-right - order. (In other words, these bases appear in the order that they - should be initialized.) */ -#define CLASSTYPE_VBASECLASSES(NODE) (LANG_TYPE_CLASS_CHECK (NODE)->vbases) - /* We used to have a variant type for lang_type. Keep the name of the checking accessor for the sole survivor. */ #define LANG_TYPE_CLASS_CHECK(NODE) (TYPE_LANG_SPECIFIC (NODE)) @@ -783,12 +777,6 @@ extern GTY (()) tree cp_global_trees[CPTI_MAX]; #define CLASSTYPE_PRIMARY_BINFO(NODE) \ (LANG_TYPE_CLASS_CHECK (NODE)->primary_base) -/* A vector of BINFOs for the direct and indirect virtual base classes - that this type uses in a post-order depth-first left-to-right - order. (In other words, these bases appear in the order that they - should be initialized.) */ -#define CLASSTYPE_VBASECLASSES(NODE) (LANG_TYPE_CLASS_CHECK (NODE)->vbases) - /* The type corresponding to NODE when NODE is used as a base class, i.e., NODE without virtual base classes or tail padding. */ #define CLASSTYPE_AS_BASE(NODE) (LANG_TYPE_CLASS_CHECK (NODE)->as_base) |