]> sourceware.org Git - libabigail.git/commit
Tidy build_enum_type state variables.
authorGiuliano Procida <gprocida@google.com>
Wed, 10 Jun 2020 11:59:33 +0000 (12:59 +0100)
committerDodji Seketeli <dodji@redhat.com>
Mon, 29 Jun 2020 09:06:14 +0000 (11:06 +0200)
commit2b2f073d7afc8adf90d9d7bb5e3793846b4dd5d7
tree21d349690716dacd56130c2fc9c156f092968e7a
parent56db287aba095195c36ecdde182a4693e3d7c458
Tidy build_enum_type state variables.

This patch brings the enum code closer to the class/union code, in the
hope that this will ease future code maintenance.

There are no behavioural changes.

* src/abg-dwarf-reader.cc (build_enum_type): Rename local
variable enum_is_anonymous to is_anonymous. Move initilisation
of local variable is_artificial to location corresponding to
that in add_or_update_class_type and add_or_update_union_type
functions.

Signed-off-by: Giuliano Procida <gprocida@google.com>
src/abg-dwarf-reader.cc
This page took 0.074211 seconds and 5 git commands to generate.