Systemd/coccinelle
Lennart Poettering 2d0bc68450 coccinelle: add a run-coccinelle.sh script that runs all scripts
One day we should start running something like this as part of CI so
that non-well-formed commits are not even accepted...
2017-11-29 20:12:26 +01:00
..
empty-if.cocci tree-wide: update empty-if coccinelle script to cover empty-while and more 2015-09-09 14:59:51 +02:00
errno.cocci coccinelle: additional errno.cocci hunk 2015-11-09 20:01:06 +01:00
free_and_replace.cocci tree-wide: introduce free_and_replace helper 2016-10-16 23:35:39 -04:00
hashmap_free.cocci tree-wide: take benefit of the fact that hashmap_free() returns NULL 2015-09-09 23:12:07 +02:00
htonl.cocci tree-wide: htonl() is weird, let's use htobe32() instead (#3538) 2016-06-15 01:26:01 +02:00
in_set.cocci coccinelle: fix IN_SET/!IN_SET scripts, and apply some changes it found 2017-11-29 20:12:26 +01:00
isempty.cocci tree-wide: use strv_isempty() instead of strv_length() == 0 2017-11-29 12:41:08 +01:00
mfree.cocci tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
mfree_return.cocci tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
no-if-assignments.cocci tree-wide: don't do assignments within if checks 2015-09-09 08:20:20 +02:00
not_in_set.cocci coccinelle: fix IN_SET/!IN_SET scripts, and apply some changes it found 2017-11-29 20:12:26 +01:00
run-coccinelle.sh coccinelle: add a run-coccinelle.sh script that runs all scripts 2017-11-29 20:12:26 +01:00
safe_close-no-if.cocci tree-wide: drop redundant if checks before safe_close() 2015-09-09 08:20:19 +02:00
safe_close.cocci tree-wide: make more code use safe_close() 2015-09-09 08:20:19 +02:00
safe_closedir.cocci util: add safe_closedir() similar to safe_fclose() 2015-09-22 16:30:24 +02:00
safe_fclose.cocci util: introduce safe_fclose() and port everything over to it 2015-09-09 15:26:11 +02:00
strempty.cocci Add Coccinelle patch for strempty() usage 2015-09-30 12:24:16 +02:00
strjoin.cocci tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
strjoina.cocci tree-wide: remove useless NULLs from strjoina 2016-04-13 08:56:44 -04:00
strv_free.cocci tree-wide: make use of the fact that strv_free() returns NULL 2015-09-09 23:05:58 +02:00
while-true.cocci tree-wide: replace while(1) by for(;;) everywhere 2015-09-09 14:59:53 +02:00
xsprintf.cocci tree-wide: use xsprintf() where applicable 2016-01-12 15:36:32 +01:00