2018-03-31 03:16:33 +00:00
|
|
|
void called() {}
|
|
|
|
|
|
|
|
struct Foo {
|
|
|
|
Foo();
|
|
|
|
};
|
|
|
|
|
|
|
|
Foo::Foo() {
|
|
|
|
called();
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"includes": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"skipped_ranges": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2func": [{
|
2018-03-31 03:16:33 +00:00
|
|
|
"usr": 468307235068920063,
|
|
|
|
"detailed_name": "void called()",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "called",
|
|
|
|
"kind": 12,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "1:6-1:12|0|1|2",
|
|
|
|
"extent": "1:1-1:17|0|1|0",
|
|
|
|
"declaring_type": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"vars": [],
|
2018-07-10 06:40:26 +00:00
|
|
|
"uses": ["8:3-8:9|0|1|16420"],
|
2018-03-31 03:16:33 +00:00
|
|
|
"callees": []
|
|
|
|
}, {
|
|
|
|
"usr": 3385168158331140247,
|
2018-06-01 23:51:39 +00:00
|
|
|
"detailed_name": "Foo::Foo()",
|
|
|
|
"qual_name_offset": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "Foo",
|
|
|
|
"kind": 9,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0,
|
2018-07-10 06:40:26 +00:00
|
|
|
"declarations": ["4:3-4:6|15041163540773201510|2|1025"],
|
|
|
|
"spell": "7:6-7:9|15041163540773201510|2|1026",
|
2018-07-08 07:46:53 +00:00
|
|
|
"extent": "7:1-9:2|0|1|0",
|
2018-07-07 23:56:47 +00:00
|
|
|
"declaring_type": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"vars": [],
|
|
|
|
"uses": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"callees": []
|
2018-04-30 04:49:03 +00:00
|
|
|
}],
|
|
|
|
"usr2type": [{
|
|
|
|
"usr": 15041163540773201510,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "struct Foo {}",
|
|
|
|
"qual_name_offset": 7,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "Foo",
|
|
|
|
"kind": 23,
|
2018-07-07 23:56:47 +00:00
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "3:8-3:11|0|1|2",
|
|
|
|
"extent": "3:1-5:2|0|1|0",
|
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [3385168158331140247],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"uses": ["4:3-4:6|0|1|4", "7:1-7:4|0|1|4", "7:6-7:9|0|1|4"]
|
2018-03-31 03:16:33 +00:00
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2var": []
|
2018-03-31 03:16:33 +00:00
|
|
|
}
|
|
|
|
*/
|