]> Git Repo - qemu.git/commit - scripts/qapi/common.py
qapi: Streamline boilerplate comment generation
authorMarkus Armbruster <[email protected]>
Sun, 11 Feb 2018 09:35:40 +0000 (10:35 +0100)
committerEric Blake <[email protected]>
Fri, 2 Mar 2018 19:14:08 +0000 (13:14 -0600)
commitc263de3f419be945499ff7e6bd7512702f8bd522
tree29e6fa4f4bec7b97c199616d34a1228de95514bc
parent0dd13589b0dc1d91bb1281a0d10ddaa71b8b5ccd
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
Message-Id: <20180211093607[email protected]>
Signed-off-by: Eric Blake <[email protected]>
scripts/qapi-commands.py
scripts/qapi-event.py
scripts/qapi-introspect.py
scripts/qapi-types.py
scripts/qapi-visit.py
scripts/qapi.py
scripts/qapi2texi.py
tests/qapi-schema/doc-good.texi
This page took 0.023994 seconds and 4 git commands to generate.