gdb: remove SYMBOL_CLASS macro, add getter
Change-Id: I83211d5a47efc0564386e5b5ea4a29c00b1fd46a
This commit is contained in:
parent
d1eebf9a6f
commit
66d7f48f80
42 changed files with 147 additions and 144 deletions
|
@ -255,7 +255,7 @@ typedef_hash_table::add_template_parameters (struct type *t)
|
|||
void **slot;
|
||||
|
||||
/* We only want type-valued template parameters in the hash. */
|
||||
if (SYMBOL_CLASS (TYPE_TEMPLATE_ARGUMENT (t, i)) != LOC_TYPEDEF)
|
||||
if (TYPE_TEMPLATE_ARGUMENT (t, i)->aclass () != LOC_TYPEDEF)
|
||||
continue;
|
||||
|
||||
tf = XOBNEW (&m_storage, struct decl_field);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue