]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Simplify ada_identical_enum_types_p
authorTom Tromey <tromey@adacore.com>
Mon, 26 Aug 2024 19:29:04 +0000 (13:29 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 26 Aug 2024 19:29:04 +0000 (13:29 -0600)
commit16ffddc6b9985addd98e3e92fe5733df3ea66f00
treeb440465373625cbafa437f9b92b4540a96a73615
parent91555eddd48726592478fc3fbe4a4dbce31384bf
Simplify ada_identical_enum_types_p

This patch changes ada_identical_enum_types_p to reuse the field names
that are computed earlier in the loop.  This is a simple cleanup, but
also is useful for a larger change that I'm working on.

Tested on x86-64 Fedora 38.
gdb/ada-lang.c