Marc-André Lureau a2724280fb qapi: add 'if' to union members
Add 'if' key to union members:

{ 'union': 'TestIfUnion', 'data':
    'mem': { 'type': 'str', 'if': 'COND'} }

The generated code remains unconditional for now. Later patches
generate the conditionals.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20181213123724.4866-16-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-12-13 19:20:11 +01:00
..
2018-07-13 10:16:04 +01:00
2018-12-13 19:20:11 +01:00
2014-06-10 07:44:01 +02:00
2016-05-26 11:12:05 -06:00
2018-07-13 10:16:04 +01:00
2016-03-11 16:59:12 +02:00
2017-01-16 10:11:43 +01:00
2018-08-21 10:22:03 +02:00
2017-01-24 23:26:52 +03:00
2016-10-13 17:23:53 +02:00