mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
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:

committed by
Simon Marchi

parent
4a8f181d19
commit
10242f367f
@ -1135,9 +1135,9 @@ convert_type_cplus_basic (compile_cplus_instance *instance,
|
||||
{
|
||||
/* 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 compile_cplus_convert_qualified (instance, type);
|
||||
|
||||
switch (type->code ())
|
||||
|
Reference in New Issue
Block a user