HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Coccinelle release 1.0.0-rc3
[bpt/coccinelle.git]
/
tests
/
spacing.cocci
1
@@
2
@@
3
typedef int *foo;
4
+void *bar(int *baz)
5
+{
6
+ return baz;
7
+}
8
9
@@
10
identifier f,x;
11
@@
12
f(int x) { ... }
13
+void *bar(int *baz)
14
+{
15
+ return baz;
16
+}
17
18
@@
19
@@
20
21
two();
22
+if (y) {
23
+ test();
24
+}