diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-03-25 16:32:21 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-03-26 10:11:27 -0400 |
commit | ad172865ca67ee66f9a7a2f87f62564c8fda3538 (patch) | |
tree | 520d5add055babdb3e2fe66e829a18234d396cdc /gdb/testsuite/gdb.python/py-source-styling.c | |
parent | 861d98ffceaadf8dc14a33c69a3d6fc8f88e10b6 (diff) | |
download | binutils-ad172865ca67ee66f9a7a2f87f62564c8fda3538.zip binutils-ad172865ca67ee66f9a7a2f87f62564c8fda3538.tar.gz binutils-ad172865ca67ee66f9a7a2f87f62564c8fda3538.tar.bz2 |
gdb/dwarf: use reference in cutu_reader::cutu_reader interface
Change some parameters to be references instead of pointers, when the
value must not be nullptr. I'd like to do this more of this kind of
change, but I have to limit the scope of the change, otherwise there's
just no end (and some local variables could also be turned into
references). So for now, just do it the cutu_reader constructors.
Change-Id: I9442c6043726981d58f9b141f516c590c0a71bcc
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-source-styling.c')
0 files changed, 0 insertions, 0 deletions