summary refs log tree commit diff stats
path: root/scripts/qapi-visit.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-03-15 13:57:26 +0100
committerMarkus Armbruster <armbru@redhat.com>2017-03-16 07:13:04 +0100
commit816a57cd6ebb6fe820766ac12478a56a5fa33d52 (patch)
tree1f6d4f1946a0c1dcef1fb56d3ae4446426ad2697 /scripts/qapi-visit.py
parentf641d06ad63773ae524fb073b2f8639e1db1462c (diff)
downloadfocaccia-qemu-816a57cd6ebb6fe820766ac12478a56a5fa33d52.tar.gz
focaccia-qemu-816a57cd6ebb6fe820766ac12478a56a5fa33d52.zip
qapi: Fix detection of bogus member documentation
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>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions