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.
This commit is contained in:
Doug Evans 2014-11-06 17:19:06 -08:00
parent 9c1877ead0
commit 4753d33b40
19 changed files with 27 additions and 40 deletions

View file

@ -184,15 +184,6 @@ enum type_code
TYPE_CODE_XMETHOD
};
/* * For now allow source to use TYPE_CODE_CLASS for C++ classes, as
an alias for TYPE_CODE_STRUCT. This is for DWARF, which has a
distinct "class" attribute. Perhaps we should actually have a
separate TYPE_CODE so that we can print "class" or "struct"
depending on what the debug info said. It's not clear we should
bother. */
#define TYPE_CODE_CLASS TYPE_CODE_STRUCT
/* * Some constants representing each bit field in the main_type. See
the bit-field-specific macros, below, for documentation of each
constant in this enum. These enum values are only used with