summaryrefslogtreecommitdiffstats
path: root/scripts/cocci-macro-file.h
Commit message (Collapse)AuthorAgeFilesLines
* coccinelle: add g_assert_cmp* to macro filePaolo Bonzini2016-05-231-0/+6
| | | | | | This helps applying semantic patches to unit tests. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* add macro file for coccinellePaolo Bonzini2015-09-091-0/+119
Coccinelle chokes on some idioms from compiler.h and queue.h. Extract those in a macro file, to be used with "--macro-file scripts/cocci-macro-file.h". Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>