Replace field_is_static with a method
authorTom Tromey <tom@tromey.com>
Sat, 22 Apr 2023 18:41:43 +0000 (12:41 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 1 May 2023 15:20:37 +0000 (09:20 -0600)
commitc819a3380fc1b110b88bc6ab5ef9323dbe7d4753
tree05450117dff9b07e36d3ddb7bddf2fd88651c543
parent077a1f08485e88f3b234af1dbb8b907b16045e6a
Replace field_is_static with a method

This changes field_is_static to be a method on struct field, and
updates all the callers.  Most of this patch was written by script.

Regression tested on x86-64 Fedora 36.
24 files changed:
gdb/aarch64-tdep.c
gdb/amd64-tdep.c
gdb/arm-tdep.c
gdb/ax-gdb.c
gdb/c-typeprint.c
gdb/c-varobj.c
gdb/compile/compile-c-symbols.c
gdb/compile/compile-cplus-types.c
gdb/cp-valprint.c
gdb/eval.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/gnu-v3-abi.c
gdb/i386-tdep.c
gdb/loongarch-tdep.c
gdb/mips-tdep.c
gdb/p-typeprint.c
gdb/p-valprint.c
gdb/ppc-sysv-tdep.c
gdb/python/py-type.c
gdb/rust-lang.c
gdb/s390-tdep.c
gdb/typeprint.c
gdb/valops.c