summaryrefslogtreecommitdiff
path: root/coccinelle/while-true.cocci
blob: c23fb11f22373a1564d1fa41ffdb3ef507f460a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@@
statement s;
@@
- while (true)
+ for (;;)
s
@@
statement s;
@@
- while (1)
+ for (;;)
s