]> Git Repo - qemu.git/blame - scripts/coccinelle/swap_muldiv64.cocci
trace: avoid "is" with a literal Python 3.8 warnings
[qemu.git] / scripts / coccinelle / swap_muldiv64.cocci
CommitLineData
e9d51507
LV
1// replace muldiv64(i32, i64, x) by muldiv64(i64, i32, x)
2@@
3typedef uint64_t;
4typedef int64_t;
5typedef uint32_t;
6typedef int32_t;
7{ uint32_t, int32_t, int, unsigned int } a;
8{ uint64_t, int64_t, long, unsigned long } b;
9expression c;
10@@
11
12-muldiv64(a,b,c)
13+muldiv64(b,a,c)
This page took 0.182705 seconds and 4 git commands to generate.