HCoop
/
bpt
/
coccinelle.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Coccinelle release 1.0.0-rc1
[bpt/coccinelle.git]
/
tests
/
bad_typedef.cocci
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
@ rule1 @
2
type T;
3
identifier lock;
4
@@
5
6
T { ...
7
struct semaphore lock;
8
...
9
};
10
11
@@
12
type rule1.T;
13
identifier rule1.lock;
14
T *x;
15
@@
16
17
- x->lock
18
+ x->new_lock