HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release coccinelle-0.2.3rc6
[bpt/coccinelle.git]
/
tests
/
retval2.cocci
1
@ voidfunc @
2
function fn;
3
position voidpos;
4
@@
5
void fn@voidpos(...) {
6
...
7
}
8
9
@ func disable ret exists @
10
type T;
11
function fn;
12
position pos != voidfunc.voidpos;
13
@@
14
T
15
- fn@pos
16
+ newname
17
(...) {
18
... WHEN != return ...;
19
}