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-05-11 09:21:37 +02:00
2015-09-11 10:45:43 +03:00
2015-10-05 12:00:55 -04:00
2015-01-26 12:22:44 +01:00
2015-11-02 08:30:28 +01:00
2015-10-23 18:18:22 +02:00
2015-07-07 13:13:22 +01:00
2015-09-11 10:21:38 +03:00
2014-06-23 19:14:52 +02:00
2015-10-12 13:34:32 +08:00
2014-05-05 20:58:33 +02:00
2015-09-18 10:58:56 -04:00
2015-09-11 10:21:38 +03:00
2013-11-19 10:28:14 +01:00
2012-03-12 15:14:07 +01:00
2015-06-12 16:58:06 +02:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2015-06-22 17:40:00 +02:00
2012-12-19 08:31:31 +01:00
2013-12-24 17:27:17 +01:00
2015-06-19 18:42:48 +02:00
2012-12-19 08:31:31 +01:00
2015-09-15 15:05:09 +01:00
2015-09-15 15:05:09 +01:00
2015-10-09 15:25:57 +02:00
2015-07-07 11:23:18 +02:00
2015-10-09 15:25:57 +02:00
2015-10-16 11:14:53 +01:00
2015-06-19 10:29:14 +02:00
2015-06-19 10:29:14 +02:00
2015-06-19 10:29:14 +02: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
2015-01-15 10:44:13 +03:00
2015-03-30 19:24:54 +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
2014-02-17 23:10:02 +01:00
2015-11-02 08:30:28 +01:00
2014-02-14 20:50:19 +01:00
2014-12-10 10:31:12 +01:00
2015-06-19 10:29:14 +02:00
2014-02-14 16:22:33 +01:00
2015-09-15 15:05:09 +01:00
2014-03-31 22:36:17 +02:00
2015-06-05 19:45:09 +02:00
2015-01-13 11:47:55 +00:00
2015-06-19 10:29:14 +02:00
2015-03-25 13:37:10 +01:00
2014-02-17 23:10:02 +01:00
2015-09-25 14:53:29 +02:00
2014-03-13 01:21:57 +01:00
2015-07-08 12:38:30 +03:00
2015-10-23 18:18:24 +02:00
2014-11-02 10:04:34 +03:00
2015-10-20 14:59:04 +01:00
2015-10-22 19:03:08 +01:00
2015-07-07 12:04:07 +02:00
2015-09-15 15:05:09 +01:00
2015-09-15 15:07:43 +01:00
2015-09-25 12:04:41 +02:00
2015-09-11 10:21:38 +03:00
2014-03-02 17:20:37 +04:00
2013-01-02 15:58:09 +01:00
2013-02-17 14:28:58 +00:00
2015-10-12 13:34:32 +08:00
2015-06-22 18:20:39 +02:00
2014-09-18 21:51:24 +03:00
2015-06-22 18:20:39 +02:00
2015-10-23 08:57:45 -05:00
2015-11-02 08:30:27 +01:00
2015-11-02 08:30:26 +01:00
2015-09-21 09:56:49 +02:00
2015-11-02 08:30:27 +01:00
2015-11-02 08:30:27 +01:00
2015-07-24 13:57:45 +02:00
2014-03-13 14:42:21 +01:00
2014-06-19 18:44:22 +03:00
2015-10-08 19:48:17 +03:00
2014-10-20 13:41:27 +02:00
2015-08-05 12:53:48 +01:00
2015-11-02 08:30:26 +01:00
2015-10-20 14:59:04 +01:00
2015-02-06 17:24:21 +01:00
2015-03-09 16:30:02 -03:00
2015-09-11 10:21:38 +03:00
2014-07-01 10:20:41 +02:00
2014-02-14 21:02:27 +01:00
2014-10-15 05:03:13 +02:00
2015-03-26 14:21:43 +01:00
2015-03-26 14:21:43 +01:00
2015-03-26 14:21:43 +01:00
2015-10-29 11:11:07 +02:00
2015-10-29 11:05:24 +02:00
2014-03-31 22:35:50 +02:00
2014-03-13 01:21:56 +01:00
2015-03-10 14:02:23 +01:00
2014-03-13 21:12:07 +01:00
2015-08-04 09:41:28 +01:00
2014-10-15 05:03:12 +02:00
2015-07-30 15:44:49 +02:00
2014-10-15 05:03:12 +02:00
2014-02-14 16:22:33 +01:00
2015-07-20 17:01:00 +01:00