gdb: remove TYPE_INSTANCE_FLAGS
Remove it, use the `type::instance_flags` method everywhere. gdb/ChangeLog: * gdbtypes.h (TYPE_INSTANCE_FLAGS): Remove, replace all uses with `type::instance_flags`. Change-Id: I3653108b712e6186529cb0102e2b70247bbcabbe
This commit is contained in:
parent
4a8f181d19
commit
10242f367f
7 changed files with 35 additions and 35 deletions
|
@ -278,9 +278,9 @@ convert_type_basic (compile_c_instance *context, struct type *type)
|
|||
{
|
||||
/* If we are converting a qualified type, first convert the
|
||||
unqualified type and then apply the qualifiers. */
|
||||
if ((TYPE_INSTANCE_FLAGS (type) & (TYPE_INSTANCE_FLAG_CONST
|
||||
| TYPE_INSTANCE_FLAG_VOLATILE
|
||||
| TYPE_INSTANCE_FLAG_RESTRICT)) != 0)
|
||||
if ((type->instance_flags () & (TYPE_INSTANCE_FLAG_CONST
|
||||
| TYPE_INSTANCE_FLAG_VOLATILE
|
||||
| TYPE_INSTANCE_FLAG_RESTRICT)) != 0)
|
||||
return convert_qualified (context, type);
|
||||
|
||||
switch (type->code ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue