/
proc
/
3430793
/
task
/
3430793
/
cwd
/
usr
/
share
/
doc
/
git
/
contrib
/
coccinelle
/
File Upload :
llllll
Current File: //proc/3430793/task/3430793/cwd/usr/share/doc/git/contrib/coccinelle/swap.cocci
@ swap_with_declaration @ type T; identifier tmp; T a, b; @@ - T tmp = a; + T tmp; + tmp = a; a = b; b = tmp; @ swap @ type T; T tmp, a, b; @@ - tmp = a; - a = b; - b = tmp; + SWAP(a, b); @ extends swap @ identifier unused; @@ { ... - T unused; ... when != unused }
Copyright ©2k19 -
Hexid
|
Tex7ure