summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema
diff options
context:
space:
mode:
authorMarkus Armbruster2018-02-11 10:35:40 +0100
committerEric Blake2018-03-02 20:14:08 +0100
commitc263de3f419be945499ff7e6bd7512702f8bd522 (patch)
tree29e6fa4f4bec7b97c199616d34a1228de95514bc /tests/qapi-schema
parentInclude qapi/qmp/qerror.h exactly where needed (diff)
downloadqemu-c263de3f419be945499ff7e6bd7512702f8bd522.tar.gz
qemu-c263de3f419be945499ff7e6bd7512702f8bd522.tar.xz
qemu-c263de3f419be945499ff7e6bd7512702f8bd522.zip
qapi: Streamline boilerplate comment generation
Every generator has separate boilerplate for .h and .c, and their differences are boring. All of them repeat the license note. Reduce the repetition as follows. Move common text like the license note to common open_output(), next to the existing common text there. For each generator, replace the two separate descriptions by a single one. While there, emit an "automatically generated" note into generated documentation, too. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20180211093607.27351-3-armbru@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema')
-rw-r--r--tests/qapi-schema/doc-good.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qapi-schema/doc-good.texi b/tests/qapi-schema/doc-good.texi
index 1778312581..0aed2300a5 100644
--- a/tests/qapi-schema/doc-good.texi
+++ b/tests/qapi-schema/doc-good.texi
@@ -1,3 +1,5 @@
+@c AUTOMATICALLY GENERATED, DO NOT MODIFY
+
@section Section
@subsection Subsection
@@ -231,4 +233,3 @@ If you're bored enough to read this, go see a video of boxed cats
@end deftypefn
-