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.1.1
[bpt/coccinelle.git]
/
tests
/
replace_typedef.cocci
1
@ rule1 @
2
type T1, T2;
3
@@
4
5
typedef T1 { ... } T2;
6
7
@@
8
type rule1.T1, rule1.T2;
9
@@
10
11
- T2
12
+ T1
13
14
@ rule2 @
15
type T1, T2;
16
@@
17
18
typedef T1 T2;
19
20
@@
21
type rule2.T1, rule2.T2;
22
@@
23
24
- T2
25
+ T1