]> git.proxmox.com Git - mirror_qemu.git/commit - docs/qapi-code-gen.txt
qapi: Reserve '*List' type names for list types
authorEric Blake <eblake@redhat.com>
Mon, 26 Oct 2015 22:34:43 +0000 (16:34 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 2 Nov 2015 07:30:26 +0000 (08:30 +0100)
commit255960dd374d4497d6ea537305f1b0d8a3433789
tree49b56b41812702438ef9f3441c61d8efd84a86c9
parentf9e6102b48f21e464a847a858a456c521e7a83e5
qapi: Reserve '*List' type names for list types

Type names ending in 'List' can clash with qapi list types in
generated C.  We don't currently use such names. It is easier to
outlaw them now than to worry about how to resolve such a clash
in the future. For precedence, see commit 4dc2e69, which did the
same for names ending in 'Kind' versus implicit enum types for
qapi unions.

Update the testsuite to match.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1445898903-12082-5-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/qapi-code-gen.txt
scripts/qapi.py
tests/qapi-schema/reserved-type-list.err
tests/qapi-schema/reserved-type-list.exit
tests/qapi-schema/reserved-type-list.json
tests/qapi-schema/reserved-type-list.out