summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/union-clash-data.out
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-03-03 09:16:52 -0700
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:12 -0600
commit6a4da0d4dc11d5411b4c080bf1950fb280be9d54 (patch)
tree0d8f4561ef716071008431b96fbce9166222e437 /tests/qapi-schema/union-clash-data.out
parent4c3819b0558c57a94f6d3e356a17fe346cc93510 (diff)
downloadhqemu-6a4da0d4dc11d5411b4c080bf1950fb280be9d54.zip
hqemu-6a4da0d4dc11d5411b4c080bf1950fb280be9d54.tar.gz
qapi: Drop useless 'data' member of unions
We started moving away from the use of the 'void *data' member in the C union corresponding to a QAPI union back in commit 544a373; recent commits have gotten rid of other uses. Now that it is completely unused, we can remove the member itself as well as the FIXME comment. Update the testsuite to drop the negative test union-clash-data. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1457021813-10704-11-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/union-clash-data.out')
-rw-r--r--tests/qapi-schema/union-clash-data.out9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/qapi-schema/union-clash-data.out b/tests/qapi-schema/union-clash-data.out
deleted file mode 100644
index f5752f4..0000000
--- a/tests/qapi-schema/union-clash-data.out
+++ /dev/null
@@ -1,9 +0,0 @@
-object :empty
-object :obj-int-wrapper
- member data: int optional=False
-enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool']
- prefix QTYPE
-object TestUnion
- member type: TestUnionKind optional=False
- case data: :obj-int-wrapper
-enum TestUnionKind ['data']
OpenPOWER on IntegriCloud