Debian Codegraph @

tools/spgen/examples/context.cocci

raw
1 // This file is part of Coccinelle, lincensed under the terms of the GPL v2.
2 // See copyright.txt in the Coccinelle source code for more information.
3 // The Coccinelle source code can be obtained at http://coccinelle.lip6.fr
4
5 @@
6 local function f;
7 identifier x, y, m;
8 @@
9
10 f(
11 * int x,
12 int y
13 ) {
14 int m = x * y;
15 ...
16 return m;
17 }