]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Refactor cooked_index_shard::handle_gnat_encoded_entry
authorTom Tromey <tromey@adacore.com>
Tue, 3 Sep 2024 18:04:18 +0000 (12:04 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 9 Sep 2024 17:37:35 +0000 (11:37 -0600)
commit052736020af3aae80f8eddbfc8a695916cdcbb9a
tree0308dc87f2954872863c5cfef4e2a3981d57f515
parent86d6495bd44a5f228a65b84d1630fc318d3732ef
Refactor cooked_index_shard::handle_gnat_encoded_entry

This changes cooked_index_shard::handle_gnat_encoded_entry to modify
the incoming entry itself, and to return void rather than a new name.
this simplifies the caller a little, which is convenient for a
different series I am working on.

Approved-By: Tom de Vries <tdevries@suse.de>
gdb/dwarf2/cooked-index.c
gdb/dwarf2/cooked-index.h