qemu/scripts/qapi
Markus Armbruster dec0012ef8 qapi: Fix missing 'if' checks in struct, union, alternate 'data'
Commit 87adbbffd4..3e270dcacc "qapi: Add 'if' to (implicit
struct|union|alternate) members" (v4.0.0) neglected test coverage, and
promptly failed to check the conditions.  Review fail.

Recent commit "tests/qapi-schema: Demonstrate insufficient 'if'
checking" added test coverage, demonstrating the bug.  Fix it by add
the missing check_if().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190914153506.2151-13-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2019-09-24 14:07:23 +02:00
..
__init__.py
commands.py qapi: Permit 'boxed' with empty type 2019-09-24 14:07:22 +02:00
common.py qapi: Fix missing 'if' checks in struct, union, alternate 'data' 2019-09-24 14:07:23 +02:00
doc.py qapi: Allow documentation for features 2019-06-12 18:35:57 +02:00
events.py qapi: Adjust frontend errors to say enum value, not member 2019-09-24 14:07:22 +02:00
introspect.py qapi: Add feature flags to struct types 2019-06-12 18:34:26 +02:00
types.py qapi: Add feature flags to struct types 2019-06-12 18:34:26 +02:00
visit.py qapi: Add feature flags to struct types 2019-06-12 18:34:26 +02:00