diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-11-03 10:38:44 +0100 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-11-03 21:54:22 +0100 |
commit | 1e6f6c0efc0fd3386669cfa55f8333887b8d5ea5 (patch) | |
tree | 81129f49b036a9a5ddf0cde10febfbd27bac211e | |
parent | b8916941e20ee3bba9848743bf98ef8baba68ca4 (diff) | |
download | sparse-1e6f6c0efc0fd3386669cfa55f8333887b8d5ea5.tar.gz |
remove unused SYM_TYPEDEF
SYM_TYPEDEF is not used anymore since the SYM -> MOD conversion.
So, remove it.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r-- | ast-inspect.c | 1 | ||||
-rw-r--r-- | show-parse.c | 1 | ||||
-rw-r--r-- | symbol.c | 1 | ||||
-rw-r--r-- | symbol.h | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/ast-inspect.c b/ast-inspect.c index d1b4f9ac..b510cd9b 100644 --- a/ast-inspect.c +++ b/ast-inspect.c @@ -109,7 +109,6 @@ static const char *symbol_type_name(enum type type) [SYM_STRUCT] = "SYM_STRUCT", [SYM_UNION] = "SYM_UNION", [SYM_ENUM] = "SYM_ENUM", - [SYM_TYPEDEF] = "SYM_TYPEDEF", [SYM_TYPEOF] = "SYM_TYPEOF", [SYM_BITFIELD] = "SYM_BITFIELD", [SYM_LABEL] = "SYM_LABEL", diff --git a/show-parse.c b/show-parse.c index 23246074..7b65ba67 100644 --- a/show-parse.c +++ b/show-parse.c @@ -58,7 +58,6 @@ static void do_debug_symbol(struct symbol *sym, int indent) [SYM_STRUCT] = "strt", [SYM_UNION] = "unin", [SYM_ENUM] = "enum", - [SYM_TYPEDEF] = "tdef", [SYM_TYPEOF] = "tpof", [SYM_BITFIELD] = "bitf", [SYM_LABEL] = "labl", @@ -533,7 +533,6 @@ const char* get_type_name(enum type type) [SYM_STRUCT] = "struct", [SYM_UNION] = "union", [SYM_ENUM] = "enum", - [SYM_TYPEDEF] = "typedef", [SYM_TYPEOF] = "typeof", [SYM_BITFIELD] = "bitfield", [SYM_LABEL] = "label", @@ -64,7 +64,6 @@ enum type { SYM_STRUCT, SYM_UNION, SYM_ENUM, - SYM_TYPEDEF, SYM_TYPEOF, SYM_BITFIELD, SYM_LABEL, |