]> Git Repo - qemu.git/commit
qapi: Delete useless check_exprs() code for simple union kind
authorMarkus Armbruster <[email protected]>
Sat, 14 Sep 2019 15:35:03 +0000 (17:35 +0200)
committerMarkus Armbruster <[email protected]>
Tue, 24 Sep 2019 12:07:23 +0000 (14:07 +0200)
commite31fe1266c7daa49bd086c45efeb5af06309c0ef
treeb7cb3b5331e5fd92281dd043d8ca20b37ac30ce5
parent6955397677859ada5a65f430edee8035fb4e4b7c
qapi: Delete useless check_exprs() code for simple union kind

Commit bceae7697f "qapi script: support enum type as discriminator in
union" made check_exprs() add the implicit enum types of simple unions
to global @enum_types.  I'm not sure it was needed even then.  It's
certainly not needed now.  Delete it.

discriminator_find_enum_define() and add_name() parameter @implicit
are now dead.  Bury them.

Signed-off-by: Markus Armbruster <[email protected]>
Message-Id: <20190914153506[email protected]>
Reviewed-by: Eric Blake <[email protected]>
scripts/qapi/common.py
This page took 0.024192 seconds and 4 git commands to generate.