aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coverage/compare_gcov_json.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-03-16 08:46:12 +0100
committerMarkus Armbruster <armbru@redhat.com>2024-05-06 12:38:27 +0200
commit285a8f209af7b4992aa91e8bea03a303fb6406ab (patch)
treef29b99830ad42ece245d4d0cf9fbe3eda4994007 /scripts/coverage/compare_gcov_json.py
parentqapi: Move conditional code from QAPISchemaVariants to its subtypes (diff)
downloadqemu-285a8f209af7b4992aa91e8bea03a303fb6406ab.tar.xz
qemu-285a8f209af7b4992aa91e8bea03a303fb6406ab.zip
qapi: Simplify QAPISchemaVariants @tag_member
For union types, the tag member is known only after .check(). We used to code this in a simple way: QAPISchemaVariants attribute .tag_member was None for union types until .check(). Since this complicated typing, recent commit "qapi/schema: fix typing for QAPISchemaVariants.tag_member" hid it behind a property. The previous commit lets us treat .tag_member just like the other attributes that become known only in .check(): declare, but don't initialize it in .__init__(). Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions