gdb/ChangeLog:
* gdbtypes.h (TYPE_FLAG_ENUM): Remove, replace all uses
with type::is_flag_enum.
Change-Id: I74e23893066eecd6df641045b859a6d6ebb13dd0
+2021-04-01 Simon Marchi <simon.marchi@efficios.com>
+
+ * gdbtypes.h (TYPE_FLAG_ENUM): Remove, replace all uses
+ with type::is_flag_enum.
+
2021-04-01 Simon Marchi <simon.marchi@efficios.com>
* gdbtypes.h (struct type) <is_flag_enum,
#define TYPE_NOTTEXT(t) (((t)->instance_flags ()) & TYPE_INSTANCE_FLAG_NOTTEXT)
-#define TYPE_FLAG_ENUM(t) ((t)->is_flag_enum ())
-
/* * Constant type. If this is set, the corresponding type has a
const modifier. */
fputs_styled (TYPE_FIELD_NAME (type, i), variable_name_style.style (),
stream);
}
- else if (TYPE_FLAG_ENUM (type))
+ else if (type->is_flag_enum ())
{
int first = 1;