]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: Consistent generated code: prefer visitor 'v'
authorEric Blake <eblake@redhat.com>
Tue, 29 Sep 2015 22:21:09 +0000 (16:21 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 12 Oct 2015 16:46:49 +0000 (18:46 +0200)
commitf8b7f1a8eafa9f565ebecfe409e8741d38cd786b
treed8a260acd9ac0891d62cb02ddccde9569c3b49ab
parent2a0f50e8d973b01eda4c63bac4a5c79ea0f584ef
qapi: Consistent generated code: prefer visitor 'v'

We had some pointless differences in the generated code for visit,
command marshalling, and events; unifying them makes it easier for
future patches to consolidate to common helper functions.
This is one patch of a series to clean up these differences.

This patch names the local visitor variable 'v' rather than 'm'.
Related objects, such as 'QapiDeallocVisitor', are also named by
their initials instead of an unrelated leading m.

No change in semantics to the generated code.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1443565276-4535-12-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/qapi-code-gen.txt
qom/object.c
qom/qom-qobject.c
scripts/qapi-commands.py
scripts/qapi-types.py
scripts/qapi-visit.py