gdb: remove TYPE_UNSIGNED
gdb/ChangeLog: * gdbtypes.h (TYPE_UNSIGNED): Remove, replace all uses with type::is_unsigned. Change-Id: I84f76f5cd44ff7294e421d317376a9e476bc8666
This commit is contained in:
parent
653223d356
commit
c6d940a956
30 changed files with 88 additions and 86 deletions
|
@ -210,11 +210,6 @@ enum type_instance_flag_value : unsigned
|
|||
|
||||
DEF_ENUM_FLAGS_TYPE (enum type_instance_flag_value, type_instance_flags);
|
||||
|
||||
/* * Unsigned integer type. If this is not set for a TYPE_CODE_INT,
|
||||
the type is signed (unless TYPE_NOSIGN (below) is set). */
|
||||
|
||||
#define TYPE_UNSIGNED(t) ((t)->is_unsigned ())
|
||||
|
||||
/* * No sign for this type. In C++, "char", "signed char", and
|
||||
"unsigned char" are distinct types; so we need an extra flag to
|
||||
indicate the absence of a sign! */
|
||||
|
@ -1068,6 +1063,9 @@ struct type
|
|||
return this->bounds ()->bit_stride ();
|
||||
}
|
||||
|
||||
/* Unsigned integer type. If this is not set for a TYPE_CODE_INT,
|
||||
the type is signed (unless TYPE_NOSIGN is set). */
|
||||
|
||||
bool is_unsigned () const
|
||||
{
|
||||
return this->main_type->m_flag_unsigned;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue