Re: [PATCH v2 09/28] qapi char: Elide redundant has_FOO in generated C

2022-10-18 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > On 18/10/22 08:28, Markus Armbruster wrote: >> The has_FOO for pointer-valued FOO are redundant, except for arrays. >> They are also a nuisance to work with. Recent commit "qapi: Start to >> elide redundant has_FOO in generated C" provided the means to elide >> t

Re: [PATCH v2 09/28] qapi char: Elide redundant has_FOO in generated C

2022-10-18 Thread Philippe Mathieu-Daudé
On 18/10/22 08:28, Markus Armbruster wrote: The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/

[PATCH v2 09/28] qapi char: Elide redundant has_FOO in generated C

2022-10-17 Thread Markus Armbruster
The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/char.json. Said commit explains the transform