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/d-exp.y | |
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/d-exp.y')
-rw-r--r-- | gdb/d-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d-exp.y b/gdb/d-exp.y index 90c342e..20884ba 100644 --- a/gdb/d-exp.y +++ b/gdb/d-exp.y @@ -640,7 +640,7 @@ type_aggregate_p (struct type *type) || type->code () == TYPE_CODE_UNION || type->code () == TYPE_CODE_MODULE || (type->code () == TYPE_CODE_ENUM - && TYPE_DECLARED_CLASS (type))); + && type->is_declared_class ())); } /* Take care of parsing a number (anything that starts with a digit). |