aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-06 17:19:06 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-06 17:19:06 -0800
commit4753d33b404f07e749f648c57ae61e3984d40029 (patch)
tree1d0999b959a4f9fc5dbb2f816de59b82dfe0edc6 /gdb/parse.c
parentsolib_global_lookup: Fetch arch from objfile, not target_gdbarch. (diff)
downloadbinutils-gdb-4753d33b404f07e749f648c57ae61e3984d40029.tar.gz
binutils-gdb-4753d33b404f07e749f648c57ae61e3984d40029.tar.bz2
binutils-gdb-4753d33b404f07e749f648c57ae61e3984d40029.zip
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/parse.c')
-rw-r--r--gdb/parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index 27947e79ffb..7a6c1ee9432 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -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);