aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-typeprint.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-08-31 11:46:23 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-08-31 13:16:12 -0400
commit6c0f749351bb8f46bd6a37f9a36be8b8174f689d (patch)
treead9f43e90b4097b08d79a32eac6ffe52920b6f1b /gdb/c-typeprint.c
parent321d8b3f28cc04fe8c58ac391025e8b18134ca60 (diff)
downloadgdb-6c0f749351bb8f46bd6a37f9a36be8b8174f689d.zip
gdb-6c0f749351bb8f46bd6a37f9a36be8b8174f689d.tar.gz
gdb-6c0f749351bb8f46bd6a37f9a36be8b8174f689d.tar.bz2
gdb: remove FIELD_ARTIFICIAL
Replace uses with field::is_artificial. Change-Id: I599616fdd9f4b6d044de492e8151aa6130725cd1 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/c-typeprint.c')
-rw-r--r--gdb/c-typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c
index 416f63b..57b2c09 100644
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -286,7 +286,7 @@ cp_type_print_method_args (struct type *mtype, const char *prefix,
struct field arg = args[i];
/* Skip any artificial arguments. */
- if (FIELD_ARTIFICIAL (arg))
+ if (arg.is_artificial ())
continue;
if (printed_args > 0)