HCoop
/
bpt
/
coccinelle.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
permit multiline comments and strings in macros
[bpt/coccinelle.git]
/
tests
/
mini_null_ref.cocci
Commit
Line
Data
fc1ad971
C
1
@r@
2
type T;
3
expression E;
4
identifier i,fld;
5
statement S;
6
@@
7
8
- T i = E->fld;
9
+ T i;
10
... when != E
11
when != i
12
if (E == NULL) S
13
+ i = E->fld;