HCoop
/
bpt
/
coccinelle.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
coccinelle release 1.0.0-rc2
[bpt/coccinelle.git]
/
tests
/
mf.cocci
Commit
Line
Data
34e49164
C
1
@ rule1 @
2
identifier fn1, fn2;
3
expression A, B;
4
@@
5
6
fn1(...) {
7
foo(A);
8
}
9
10
fn2(...) {
11
fn1();
12
- bar(B);
13
+ xxx(A);
14
}
15
16
@ rule2 extends rule1 @
17
@@
18
19
fn1(...) {
20
- foo(A);
21
}