qapi: Stop enforcing "type name should not end in 'Kind'
commit8ebc3120e161424911ba6d8725e77da32fbb25e5
authorMarkus Armbruster <armbru@redhat.com>
Fri, 17 Sep 2021 14:31:13 +0000 (17 16:31 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 25 Sep 2021 04:55:54 +0000 (25 06:55 +0200)
tree26e20be482d9235a01e1c3bdd0d44aa823cdd361
parent4cfd6537e42b108441852b34fc15933fc66628a1
qapi: Stop enforcing "type name should not end in 'Kind'

I'm about to convert simple unions to flat unions, then drop simple
union support.  The conversion involves making the implict enum types
explicit.  To reduce churn, I'd like to name them exactly like the
implicit types they replace.  However, these names are reserved for
the generator's use.  They won't be once simple unions are gone.  Stop
enforcing this naming rule now rather than then.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210917143134.412106-3-armbru@redhat.com>
scripts/qapi/expr.py
tests/qapi-schema/meson.build
tests/qapi-schema/reserved-type-kind.err [deleted file]
tests/qapi-schema/reserved-type-kind.json [deleted file]
tests/qapi-schema/reserved-type-kind.out [deleted file]