Files
systemd/coccinelle/cond-omit-middle.cocci
T
2023-03-18 14:23:11 +01:00

8 lines
170 B
Plaintext

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/* See: https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html#Conditionals */
@@
expression e, x;
@@
- e ? e : x
+ e ?: x