Debian Codegraph @

index_tests/types/typedefs.cc

raw
1 typedef int (func)(const int *a, const int *b);
2 static func g;
3
4 /*
5 OUTPUT:
6 {
7 "includes": [],
8 "skipped_ranges": [],
9 "usr2func": [{
10 "usr": 8105378401105136463,
11 "detailed_name": "static int g(const int *, const int *)",
12 "qual_name_offset": 11,
13 "short_name": "g",
14 "bases": [],
15 "vars": [],
16 "callees": [],
17 "kind": 12,
18 "parent_kind": 0,
19 "storage": 0,
20 "declarations": ["2:13-2:14|2:1-2:14|1|-1"],
21 "derived": [],
22 "uses": []
23 }],
24 "usr2type": [{
25 "usr": 10383876566159302459,
26 "detailed_name": "typedef int (func)(const int *, const int *)",
27 "qual_name_offset": 12,
28 "short_name": "func",
29 "spell": "1:14-1:18|1:1-1:47|2|-1",
30 "bases": [],
31 "funcs": [],
32 "types": [],
33 "vars": [],
34 "alias_of": 0,
35 "kind": 252,
36 "parent_kind": 1,
37 "declarations": [],
38 "derived": [],
39 "instances": [],
40 "uses": ["2:8-2:12|4|-1"]
41 }],
42 "usr2var": []
43 }
44 */