qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 12/27] qapi job: Elide redundant has_FOO in generated C


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH 12/27] qapi job: Elide redundant has_FOO in generated C
Date: Fri, 16 Sep 2022 11:42:54 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

On 9/15/22 23:43, 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/job.json.

Said commit explains the transformation in more detail.  The invariant
violations mentioned there do not occur here.

Cc: John Snow<jsnow@redhat.com>
Cc: Vladimir Sementsov-Ogievskiy<vsementsov@yandex-team.ru>
Cc:qemu-block@nongnu.org
Signed-off-by: Markus Armbruster<armbru@redhat.com>

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>

--
Best regards,
Vladimir



reply via email to

[Prev in Thread] Current Thread [Next in Thread]