summaryrefslogtreecommitdiffstats
path: root/hw/xen
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-11-18 01:52:45 -0700
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:19 -0600
commit66ad59098e398d57c3824678bdf895b39bbe9631 (patch)
tree108193d8ebcf40bac2c7d3dc69640152b081028a /hw/xen
parent0690626dfe11ab15f4eb05d8b5743884d5fc64f8 (diff)
downloadhqemu-66ad59098e398d57c3824678bdf895b39bbe9631.zip
hqemu-66ad59098e398d57c3824678bdf895b39bbe9631.tar.gz
qapi: Simplify QAPISchemaObjectTypeVariants.check()
Reduce the ugly flat union / simple union conditional by doing just the essential work here, namely setting self.tag_member. Move the rest to callers. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1446559499-26984-7-git-send-email-armbru@redhat.com> [rebase to earlier changes that moved tag_member.check() of alternate types, and tweak commit title and wording] Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1447836791-369-11-git-send-email-eblake@redhat.com>
Diffstat (limited to 'hw/xen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud