about summary refs log tree commit diff
path: root/contrib/coccinelle/preincr.cocci
blob: 7fe1e8d2d9a0167bec1289da81bbe4b4cae6fe4f (plain) (blame)
1
2
3
4
5
@ preincrement @
identifier i;
@@
- ++i > 1
+ i++