diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-03-15 13:57:26 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-16 07:13:04 +0100 |
commit | 816a57cd6ebb6fe820766ac12478a56a5fa33d52 (patch) | |
tree | 1f6d4f1946a0c1dcef1fb56d3ae4446426ad2697 /COPYING.LIB | |
parent | f641d06ad63773ae524fb073b2f8639e1db1462c (diff) | |
download | qemu-816a57cd6ebb6fe820766ac12478a56a5fa33d52.zip qemu-816a57cd6ebb6fe820766ac12478a56a5fa33d52.tar.gz qemu-816a57cd6ebb6fe820766ac12478a56a5fa33d52.tar.bz2 |
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 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions