Re: [PATCH v3 15/34] qapi/introspect: Factor out _make_tree()

2020-03-16 Thread Marc-André Lureau
On Sun, Mar 15, 2020 at 4:14 PM Markus Armbruster wrote: > > The value of @qmp_schema_qlit is generated from an expression tree. > Tree nodes are created in several places. Factor out the common code > into _make_tree(). This isn't much of a win now. It will pay off > when we add feature flags

[PATCH v3 15/34] qapi/introspect: Factor out _make_tree()

2020-03-15 Thread Markus Armbruster
The value of @qmp_schema_qlit is generated from an expression tree. Tree nodes are created in several places. Factor out the common code into _make_tree(). This isn't much of a win now. It will pay off when we add feature flags in the next few commits. Signed-off-by: Markus Armbruster --- scr