diff options
| author | Eric Blake | 2016-02-18 07:48:25 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2016-02-19 11:08:57 +0100 |
| commit | 2208d64998c5f867ccee7eeee298971685bf822d (patch) | |
| tree | d265df29412f0eba418ebc28abc169891da75504 /include/exec/exec-all.h | |
| parent | qapi: Emit structs used as variants in topological order (diff) | |
| download | qemu-2208d64998c5f867ccee7eeee298971685bf822d.tar.gz qemu-2208d64998c5f867ccee7eeee298971685bf822d.tar.xz qemu-2208d64998c5f867ccee7eeee298971685bf822d.zip | |
qapi-visit: Use common idiom in gen_visit_fields_decl()
We have several instances of methods that do an early exit if
output is not needed, then log that output is being generated,
and finally produce the output; see qapi-types.py:gen_object()
and qapi-visit.py:gen_visit_implicit_struct(). The odd man
out was gen_visit_fields_decl(); rearrange it to be more like
the others. No semantic change or difference to generated code.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1455778109-6278-12-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
