]> sourceware.org Git - libabigail.git/commit
XML writer: resolve declaration-only enum definitions
authorMatthias Maennich <maennich@google.com>
Fri, 3 Dec 2021 11:46:23 +0000 (11:46 +0000)
committerDodji Seketeli <dodji@redhat.com>
Wed, 19 Jan 2022 10:34:55 +0000 (11:34 +0100)
commite5bed8512fb34f12ded5b0aac73d837e02d7f404
tree4b669a13cad3d6aae86ead51519964cf95af781b
parent16e3d3a6f374e6ce881e81b32995bada1d674512
XML writer: resolve declaration-only enum definitions

Let the writer look through declaration-only enums for definitions.

This matches what get_preferred_type, write_class_decl and
write_union_decl do. No current test cases are affected.

* src/abg-writer.cc (write_enum_type_decl): Look through
declaration-only types the same as for structs and unions.

Reviewed-by: Giuliano Procida <gprocida@google.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
src/abg-writer.cc
This page took 0.034903 seconds and 5 git commands to generate.