Debian Codegraph @

index_tests/declaration_vs_definition/class.cc

raw
1 class Foo;
2 class Foo;
3 class Foo {};
4 class Foo;
5
6 /*
7 // NOTE: Separate decl/definition are not supported for classes. See source
8 // for comments.
9 OUTPUT:
10 {
11 "includes": [],
12 "skipped_ranges": [],
13 "usr2func": [],
14 "usr2type": [{
15 "usr": 15041163540773201510,
16 "detailed_name": "class Foo {}",
17 "qual_name_offset": 6,
18 "short_name": "Foo",
19 "spell": "3:7-3:10|3:1-3:13|2|-1",
20 "bases": [],
21 "funcs": [],
22 "types": [],
23 "vars": [],
24 "alias_of": 0,
25 "kind": 5,
26 "parent_kind": 1,
27 "declarations": ["1:7-1:10|1:1-1:10|1|-1", "2:7-2:10|2:1-2:10|1|-1", "4:7-4:10|4:1-4:10|1|-1"],
28 "derived": [],
29 "instances": [],
30 "uses": []
31 }],
32 "usr2var": []
33 }
34 */