diff options
author | 2024-03-15 16:28:22 +0100 | |
---|---|---|
committer | 2024-05-06 12:38:27 +0200 | |
commit | d1da8af897340ed3773c09add93c3b9f494f2c2b (patch) | |
tree | a406d5651347b7a14d7c3aec2be2a0b791124377 /scripts/coverage/compare_gcov_json.py | |
parent | qapi: New QAPISchemaBranches, QAPISchemaAlternatives (diff) | |
download | qemu-d1da8af897340ed3773c09add93c3b9f494f2c2b.tar.xz qemu-d1da8af897340ed3773c09add93c3b9f494f2c2b.zip |
qapi: Rename visitor parameter @variants to @branches
The previous commit narrowed the type of .visit_object_type()
parameter @variants from QAPISchemaVariants to QAPISchemaBranches.
Rename it to @branches.
Same for .visit_object_type_flat().
A few of these pass @branches to helper functions:
QAPISchemaGenRSTVisitor.visit_object_type() to ._nodes_for_members()
and ._nodes_for_variant_when(), and
QAPISchemaGenVisitVisitor.visit_object_type() to
gen_visit_object_members(). Rename the helpers' @variants parameters
to @branches as well.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/coverage/compare_gcov_json.py')
0 files changed, 0 insertions, 0 deletions