Eric Blake 5e59baf90a qapi: Reserve 'u' member name
Now that we have separated union tag values from colliding with
non-variant C names, by naming the union 'u', we should reserve
this name for our use.  Note that we want to forbid 'u' even in
a struct with no variants, because it is possible for a future
qemu release to extend QMP in a backwards-compatible manner while
converting from a struct to a flat union.  Fortunately, no
existing clients were using this member name.  If we ever find
the need for QMP to have a member 'u', we could at that time
relax things, perhaps by having c_name() munge the QMP member to
'q_u'.

Note that we cannot forbid 'u' everywhere (by adding the
rejection code to check_name()), because the existing QKeyCode
enum already uses it; therefore we only reserve it as a struct
type member name.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1445898903-12082-24-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-11-02 08:30:28 +01:00
..
2015-09-11 10:45:43 +03:00
2015-11-02 08:30:28 +01:00
2014-05-05 20:58:33 +02:00
2012-03-12 15:14:07 +01:00
2015-06-22 17:40:00 +02:00
2015-10-09 15:25:57 +02:00
2015-10-16 11:14:53 +01:00
2014-05-05 20:58:33 +02:00
2015-10-23 18:18:23 +02:00
2015-10-19 15:26:53 +02:00
2014-03-31 22:36:17 +02:00
2015-10-09 15:25:57 +02:00
2014-05-05 20:58:33 +02:00
2014-05-05 20:58:33 +02:00
2014-02-14 21:07:13 +01:00
2015-10-26 10:19:53 +01:00
2015-10-24 18:03:18 +02:00
2015-10-24 18:03:18 +02:00
2015-11-02 08:30:28 +01:00
2014-02-14 20:50:19 +01:00
2014-02-14 16:22:33 +01:00
2015-06-05 19:45:09 +02:00
2015-09-25 14:53:29 +02:00
2015-11-02 08:30:26 +01:00
2014-02-14 21:02:27 +01:00
2014-03-31 22:35:50 +02:00
2014-02-14 16:22:33 +01:00