diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-04-01 21:10:09 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-04-01 21:10:09 -0400 |
commit | 3bc440a2c4fcbb3b46b2b07155b1fa401d8ceb22 (patch) | |
tree | 4a6caa0ccfb1d97b9d76aaed41b431f7fe616943 /gdb/valops.c | |
parent | aa70e35c71a2bfa8c2733878b665edb39c171d34 (diff) | |
download | gdb-3bc440a2c4fcbb3b46b2b07155b1fa401d8ceb22.zip gdb-3bc440a2c4fcbb3b46b2b07155b1fa401d8ceb22.tar.gz gdb-3bc440a2c4fcbb3b46b2b07155b1fa401d8ceb22.tar.bz2 |
gdb: remove TYPE_DECLARED_CLASS
gdb/ChangeLog:
* gdbtypes.h (TYPE_DECLARED_CLASS): Remove, replace all uses
with type::is_declared_class.
Change-Id: Ifecb2342417ecd7bf570c3205344b09d706daab2
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index f86c981..b65401c 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -3313,7 +3313,7 @@ enum_constant_from_type (struct type *type, const char *name) int name_len = strlen (name); gdb_assert (type->code () == TYPE_CODE_ENUM - && TYPE_DECLARED_CLASS (type)); + && type->is_declared_class ()); for (i = TYPE_N_BASECLASSES (type); i < type->num_fields (); ++i) { |