Re: [PATCH 15/25] qapi: Inline check_name() into check_union()

2019-09-24 Thread Eric Blake
On 9/24/19 8:28 AM, Markus Armbruster wrote: > check_name() consists of check_name_is_str() and check_name_str(). > check_union() relies on the latter to catch optional discriminators. > The next commit will replace that by a more straightforward check. > Inlining check_name() into check_union() no

[PATCH 15/25] qapi: Inline check_name() into check_union()

2019-09-24 Thread Markus Armbruster
check_name() consists of check_name_is_str() and check_name_str(). check_union() relies on the latter to catch optional discriminators. The next commit will replace that by a more straightforward check. Inlining check_name() into check_union() now should make that easier to review. Signed-off-by: