unicorn/qemu/scripts
Eric Blake febeea5f4b
qapi: Special case c_name() for empty type
Commit 7ce106a rendered QAPISchemaObjectType.c_name() redundant,
since it now does nothing more than delegate to its superclass.
However, rather than deleting it, we can restore part of the
assertion that was removed in that commit, to prove that we never
emit the empty type directly in generated code, but rather
special-case it as a built-in that makes other aspects of code
generation easier to reason about.

Backports commit cd50a2564560986e865ff64fa73b59d2564076f0 from qemu
2018-02-25 20:05:16 -05:00
..
create_config more cleanup qemu/configure 2017-01-19 14:11:54 +08:00
make_device_config.sh fix file perms 2015-08-28 21:05:38 -07:00
ordereddict.py import 2015-08-21 15:04:50 +08:00
qapi-event.py qapi: Add new visit_complete() function 2018-02-25 01:20:03 -05:00
qapi-types.py qapi: Add new visit_free() function 2018-02-25 01:05:41 -05:00
qapi-visit.py qapi: Add parameter to visit_end_* 2018-02-25 00:57:54 -05:00
qapi.py qapi: Special case c_name() for empty type 2018-02-25 20:05:16 -05:00