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:
parent
9c1877ead0
commit
4753d33b40
19 changed files with 27 additions and 40 deletions
|
@ -583,7 +583,6 @@ mark_completion_tag (enum type_code tag, const char *ptr, int length)
|
|||
&& expout_last_struct == -1);
|
||||
gdb_assert (tag == TYPE_CODE_UNION
|
||||
|| tag == TYPE_CODE_STRUCT
|
||||
|| tag == TYPE_CODE_CLASS
|
||||
|| tag == TYPE_CODE_ENUM);
|
||||
expout_tag_completion_type = tag;
|
||||
expout_completion_name = xmalloc (length + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue