gdb: remove TYPE_VECTOR
gdb/ChangeLog: * gdbtypes.h (TYPE_VECTOR): Remove, replace all uses with type::is_vector. Change-Id: I1ac28755af44b1585c190553f9961288c8fb9137
This commit is contained in:
parent
2062087b35
commit
bd63c87008
29 changed files with 96 additions and 92 deletions
|
@ -475,7 +475,7 @@ compile_cplus_convert_array (compile_cplus_instance *instance,
|
|||
if (range->bounds ()->high.kind () == PROP_LOCEXPR
|
||||
|| range->bounds ()->high.kind () == PROP_LOCLIST)
|
||||
{
|
||||
if (TYPE_VECTOR (type))
|
||||
if (type->is_vector ())
|
||||
{
|
||||
const char *s = _("variably-sized vector type is not supported");
|
||||
|
||||
|
@ -499,7 +499,7 @@ compile_cplus_convert_array (compile_cplus_instance *instance,
|
|||
count = high_bound + 1;
|
||||
}
|
||||
|
||||
if (TYPE_VECTOR (type))
|
||||
if (type->is_vector ())
|
||||
return instance->plugin ().build_vector_type (element_type, count);
|
||||
|
||||
return instance->plugin ().build_array_type (element_type, count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue