summaryrefslogtreecommitdiff
path: root/coccinelle/const-strlen.disabled
blob: 8b1a635274c5a6c19767b22793850295ab0916e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
constant s;
@@
(
#define STRLEN
&
- sizeof(s)-1
+ STRLEN(s)
)
@@
constant s;
@@
- strlen(s)
+ STRLEN(s)