Eric Blake 44bd1276a7 qapi: Tighten checking of unions
Previous commits demonstrated that the generator had several
flaws with less-than-perfect unions:
- a simple union that listed the same branch twice (or two variant
names that map to the same C enumerator, including the implicit
MAX sentinel) ended up generating invalid C code
- an anonymous union that listed two branches with the same qtype
ended up generating invalid C code
- the generator crashed on anonymous union attempts to use an
array type
- the generator was silently ignoring a base type for anonymous
unions
- the generator allowed unknown types or nested anonymous unions
as a branch in an anonymous union

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-05 18:39:00 +02:00
2015-04-30 20:34:54 +01:00
2015-05-05 10:48:26 +02:00
2015-04-30 13:21:42 +02:00
2015-04-30 16:05:48 +03:00
2015-05-05 18:39:00 +02:00
2015-04-28 12:22:20 +01:00
2015-04-30 16:06:18 +03:00
2015-05-05 18:39:00 +02:00
2015-05-05 10:48:26 +02:00
2015-04-30 16:05:48 +03:00
2015-04-28 15:36:09 +02:00
2015-04-26 16:49:24 +01:00
2015-04-30 16:05:48 +03:00
2015-04-30 16:05:48 +03:00
2015-04-30 15:18:30 +01:00
2015-04-30 16:05:48 +03:00
2015-04-28 22:14:15 +02:00
2015-04-30 16:06:17 +03:00
2015-04-26 16:49:24 +01:00
2015-04-25 22:05:07 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%