mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
qapi: Enforce type naming rules
Type names should be CamelCase. Enforce this. The only offenders are in tests/. Fix them. Add test type-case to cover the new error. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-15-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [Regexp simplified, new test made more robust]
This commit is contained in:
parent
d4f4cae8de
commit
3e6c8a6331
22 changed files with 30 additions and 24 deletions
|
@ -1,2 +1,2 @@
|
|||
struct-member-invalid.json: In struct 'foo':
|
||||
struct-member-invalid.json: In struct 'Foo':
|
||||
struct-member-invalid.json:1: 'data' member 'a' should be a type name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue