diff options
author | Tom Tromey <tromey@adacore.com> | 2025-08-01 11:11:41 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-08-12 08:30:37 -0600 |
commit | 89495c33260b3f637acb8f79181cc6db08771f90 (patch) | |
tree | 525da36fc4d6846f8b8b34ae12c449b414d38dbc /gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc | |
parent | 55c91b7e5c7f7829ff69738f159e0380383a7356 (diff) | |
download | binutils-89495c33260b3f637acb8f79181cc6db08771f90.zip binutils-89495c33260b3f637acb8f79181cc6db08771f90.tar.gz binutils-89495c33260b3f637acb8f79181cc6db08771f90.tar.bz2 |
Change type::fields to return an array_view
This patch changes type::fields to return an array_view of the fields,
then fixes up the fallout.
More cleanups would be possible here (in particular in the field
initialization code) but I haven't done so.
The main motivation for this patch was to make it simpler to iterate
over the fields of a type.
Regression tested on x86-64 Fedora 41.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc')
0 files changed, 0 insertions, 0 deletions