unicorn/msvc/unicorn
Eric Blake 738fd1e5ad
qapi: Create simple union type member earlier
For simple unions, we were creating the implicit 'type' tag
member during the QAPISchemaObjectTypeVariants constructor.
This is different from every other implicit QAPISchemaEntity
object, which get created by QAPISchema methods. Hoist the
creation to the caller (renaming _make_tag_enum() to
_make_implicit_tag()), and pass the entity rather than the
string name, so that we have the nice property that no
entities are created as a side effect within a different
entity. A later patch will then have an easier time of
associating location info with each entity creation.

No change to generated code.

Backports commit 46292ba75c515baf733df18644052b2ce9492728 from qemu
2018-02-19 18:57:56 -05:00
..
aarch64-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
aarch64eb-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
arm-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
armeb-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
m68k-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
mips-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
mips64-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
mips64el-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
mipsel-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
sparc-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
sparc64-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
unicorn Update MSVC projects 2018-02-17 15:23:57 -05:00
unicorn_static Update MSVC projects 2018-02-17 15:23:57 -05:00
x86_64-softmmu Update MSVC projects 2018-02-17 15:23:57 -05:00
config-host.h Added armbe support to MSVC branch. (#801) 2017-04-21 15:26:21 +08:00
prebuild_script.bat Added MSVC support for arm64eb. 2017-04-25 14:23:58 +10:00
qapi-types.c qapi: Create simple union type member earlier 2018-02-19 18:57:56 -05:00
qapi-types.h qapi: Create simple union type member earlier 2018-02-19 18:57:56 -05:00
qapi-visit.c qapi: Create simple union type member earlier 2018-02-19 18:57:56 -05:00
qapi-visit.h qapi: Create simple union type member earlier 2018-02-19 18:57:56 -05:00