gdb: remove TYPE_RANGE_DATA macro
Remove it in favor of using type::bounds directly. gdb/ChangeLog: * gdbtypes.h (TYPE_RANGE_DATA): Remove. Update callers to use the type::bounds method directly. Change-Id: Id4fab22af0a94cbf505f78b01b3ee5b3d682fba2
This commit is contained in:
parent
c4dfcb3638
commit
599088e3ff
11 changed files with 34 additions and 32 deletions
|
@ -483,7 +483,7 @@ compile_cplus_convert_array (compile_cplus_instance *instance,
|
|||
}
|
||||
|
||||
std::string upper_bound
|
||||
= c_get_range_decl_name (&TYPE_RANGE_DATA (range)->high);
|
||||
= c_get_range_decl_name (&range->bounds ()->high);
|
||||
return instance->plugin ().build_vla_array_type (element_type,
|
||||
upper_bound.c_str ());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue