diff options
author | Doug Evans <xdje42@gmail.com> | 2014-11-06 17:19:06 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-11-06 17:19:06 -0800 |
commit | 4753d33b404f07e749f648c57ae61e3984d40029 (patch) | |
tree | 1d0999b959a4f9fc5dbb2f816de59b82dfe0edc6 /gdb/cp-support.c | |
parent | 9c1877ead06db18e19614a598d1e280acb97e971 (diff) | |
download | gdb-4753d33b404f07e749f648c57ae61e3984d40029.zip gdb-4753d33b404f07e749f648c57ae61e3984d40029.tar.gz gdb-4753d33b404f07e749f648c57ae61e3984d40029.tar.bz2 |
Delete TYPE_CODE_CLASS, it's just an alias of TYPE_CODE_STRUCT.
gdb/ChangeLog:
* gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
TYPE_CODE_STRUCT.
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r-- | gdb/cp-support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c index b475491..d35920c 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -1297,7 +1297,7 @@ make_symbol_overload_list_adl_namespace (struct type *type, } /* Check public base type */ - if (TYPE_CODE (type) == TYPE_CODE_CLASS) + if (TYPE_CODE (type) == TYPE_CODE_STRUCT) for (i = 0; i < TYPE_N_BASECLASSES (type); i++) { if (BASETYPE_VIA_PUBLIC (type, i)) @@ -1463,7 +1463,7 @@ cp_lookup_rtti_type (const char *name, struct block *block) switch (TYPE_CODE (rtti_type)) { - case TYPE_CODE_CLASS: + case TYPE_CODE_STRUCT: break; case TYPE_CODE_NAMESPACE: /* chastain/2003-11-26: the symbol tables often contain fake |