mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
qapi: Have each QAPI schema declare its name rule violations
qapi.py has a hardcoded white-list of type names that may violate the rule on use of upper and lower case. Add a new pragma directive 'name-case-whitelist', and use it to replace the hard-coded white-list. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1489582656-31133-7-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
1554a8fae9
commit
2cfbae3c42
10 changed files with 34 additions and 14 deletions
1
tests/qapi-schema/pragma-name-case-whitelist-crap.exit
Normal file
1
tests/qapi-schema/pragma-name-case-whitelist-crap.exit
Normal file
|
@ -0,0 +1 @@
|
|||
1
|
Loading…
Add table
Add a link
Reference in a new issue