mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 22:33:36 +08:00
2cfbae3c42
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>
5 lines
258 B
JSON
5 lines
258 B
JSON
# Member names should be 'lower-case' unless the enum is whitelisted
|
|
{ 'pragma': { 'name-case-whitelist': [ 'UuidInfo' ] } }
|
|
{ 'enum': 'UuidInfo', 'data': [ 'Value' ] } # UuidInfo is whitelisted
|
|
{ 'enum': 'NoWayThisWillGetWhitelisted', 'data': [ 'Value' ] }
|