systemd/coccinelle
Frantisek Sumsal 19615a650b coccinelle: skip the empty-to-null transformation on the macro itself
Since the empty_to_null() function was "macrofied", we need to use a bit
of black magic to make Coccinelle avoid running the transformation on
the macro itself.

Follow-up to ef2409cbde.
2023-01-25 11:35:06 +01:00
..
bool-cast.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
close-above-stdio.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
cmp.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
const-strlen.disabled licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
debug-logging.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
div-round-up.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
dup-fcntl.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
empty-or-dash.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
empty-or-root.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
empty-to-null.cocci coccinelle: skip the empty-to-null transformation on the macro itself 2023-01-25 11:35:06 +01:00
empty-to-root.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
enotsup.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
equals-null.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
errno-check.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
errno.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
exit-0.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
flags-set.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
fopen-unlocked.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
free_and_replace.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
hashmap_free.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
htonl.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
in_set.cocci coccinelle: don't try to use IN_SET() in assert_cc() 2022-05-30 18:17:11 +02:00
iovec-make.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
isempty.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
log-json.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
macros.h treewide: drop "RUN_" from "RUN_WITH_UMASK" 2022-12-13 14:39:30 +01:00
malloc_multiply.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
mempcpy.cocci coccinelle: automatically switch some uses of memcpy() → mempcpy() 2022-02-16 17:26:26 +01:00
memzero.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
mfree_return.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
mfree.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
no-if-assignments.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
not_in_set.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
o-ndelay.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
reallocarray.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
redundant-if.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
run-coccinelle.sh Change all fixed-path bash shebangs to /u/b/env bash outside test/ 2021-12-12 21:13:50 +01:00
safe_close-no-if.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
safe_close.cocci tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
safe_closedir.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
safe_fclose.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
sd_event_source_disable_unref.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
set_ensure_put.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
strdupa.cocci alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
strempty.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
strjoin.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
strjoina.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
strv_free.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
swap-two.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
synthetic-errno.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
take-fd.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
take-ptr.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
timestamp-is-set.cocci coccinelle: automatically look for timestamp_is_set candidates 2022-02-22 22:47:12 +01:00
while-true.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
xsprintf.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00
zz-drop-braces.cocci licensing: add spdx to our .cocci files 2021-10-01 14:45:00 +02:00