diff options
author | Eric Blake | 2017-04-27 23:58:14 +0200 |
---|---|---|
committer | Markus Armbruster | 2017-05-08 20:32:14 +0200 |
commit | a2f3453ebc64b1ebe094aeaf83f9e67896f90ac3 (patch) | |
tree | 5549449efbf73347025a1e815d9bb8eb582a17e4 /MAINTAINERS | |
parent | pci: Reduce scope of error injection (diff) | |
download | qemu-a2f3453ebc64b1ebe094aeaf83f9e67896f90ac3.tar.gz qemu-a2f3453ebc64b1ebe094aeaf83f9e67896f90ac3.tar.xz qemu-a2f3453ebc64b1ebe094aeaf83f9e67896f90ac3.zip |
coccinelle: Add script to remove useless QObject casts
We have macros in place to make it less verbose to add a subtype
of QObject to both QDict and QList. While we have made cleanups
like this in the past (see commit fcfcd8ffc, for example), having
it be automated by Coccinelle makes it easier to maintain.
The script is separate from the cleanups, for ease of review and
backporting. A later patch will then add further possible cleanups.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170427215821.19397-4-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index efdec47319..66c9734311 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1393,6 +1393,7 @@ S: Supported F: qobject/ F: include/qapi/qmp/ X: include/qapi/qmp/dispatch.h +F: scripts/coccinelle/qobject.cocci F: tests/check-qdict.c F: tests/check-qfloat.c F: tests/check-qint.c |