Eric Blake
376863ef48
qapi: Reuse code for flat union base validation
...
Rather than open-code the check for a valid base type, we
should reuse the common functionality. This allows for
consistent error messages, and also makes it easier for a
later patch to turn on support for inline anonymous base
structures.
Test flat-union-inline is updated to test only one feature
(anonymous branch dictionaries), which can be implemented
independently (test flat-union-bad-base already covers the
idea of an anonymous base dictionary).
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1443565276-4535-10-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-10-12 18:46:49 +02: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-10-12 18:46:49 +02:00
2015-10-02 13:48:29 +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-09-07 10:39:31 +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-06-02 13:34:45 -04:00
2015-03-30 19:19:42 +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-09 15:25:57 +02:00
2015-10-09 15:25:57 +02:00
2014-02-17 23:10:02 +01:00
2015-10-12 18:44:54 +02: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-07-22 12:41:40 +01:00
2014-11-02 10:04:34 +03:00
2015-03-09 11:11:59 +01:00
2015-07-27 12:22:01 +02: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-09-21 09:56:49 +02:00
2015-09-04 15:47:13 +02:00
2015-09-21 09:56:49 +02:00
2015-10-12 18:46:13 +02:00
2015-09-21 09:56:49 +02: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-05-05 18:39:02 +02:00
2015-02-05 17:16:14 +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-02 17:04:32 +03: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