gdb: remove TYPE_INDEX_TYPE macro
Remove `TYPE_INDEX_TYPE` macro, changing all the call sites to use `type::index_type` directly. gdb/ChangeLog: * gdbtypes.h (TYPE_INDEX_TYPE): Remove. Change all call sites to use type::index_type instead. Change-Id: I56715df0bdec89463cda6bd341dac0e01b2faf84
This commit is contained in:
parent
262abc0d67
commit
3d967001ec
27 changed files with 81 additions and 78 deletions
|
@ -453,7 +453,7 @@ static gcc_type
|
|||
compile_cplus_convert_array (compile_cplus_instance *instance,
|
||||
struct type *type)
|
||||
{
|
||||
struct type *range = TYPE_INDEX_TYPE (type);
|
||||
struct type *range = type->index_type ();
|
||||
gcc_type element_type = instance->convert_type (TYPE_TARGET_TYPE (type));
|
||||
|
||||
if (TYPE_LOW_BOUND_KIND (range) != PROP_CONST)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue