aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
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/symtab.c
parent9c1877ead06db18e19614a598d1e280acb97e971 (diff)
downloadgdb-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/symtab.c')
-rw-r--r--gdb/symtab.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index ed164f7..01ddb91 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -4720,7 +4720,6 @@ make_symbol_completion_type (const char *text, const char *word,
{
gdb_assert (code == TYPE_CODE_UNION
|| code == TYPE_CODE_STRUCT
- || code == TYPE_CODE_CLASS
|| code == TYPE_CODE_ENUM);
return current_language->la_make_symbol_completion_list (text, word, code);
}