mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 05:43:47 +08:00
816a57cd6e
check_definition_doc() checks for member documentation without a matching member. It laboriously second-guesses what members QAPISchema._def_exprs() will create. That's a stupid game. Move the check into QAPISchema.check(), where the members are known. Delegate the actual checking to new QAPIDoc.check(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-38-git-send-email-armbru@redhat.com>
2 lines
113 B
Plaintext
2 lines
113 B
Plaintext
tests/qapi-schema/doc-bad-union-member.json:3: The following documented members are not in the declaration: a, b
|