2018-03-31 03:16:33 +00:00
|
|
|
template<class T>
|
|
|
|
class Template {};
|
|
|
|
|
|
|
|
struct Foo {
|
|
|
|
void Bar(Template<double>&);
|
|
|
|
};
|
|
|
|
|
|
|
|
void Foo::Bar(Template<double>&) {}
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"includes": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"skipped_ranges": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2func": [{
|
|
|
|
"usr": 8412238651648388423,
|
|
|
|
"detailed_name": "void Foo::Bar(Template<double> &)",
|
|
|
|
"qual_name_offset": 5,
|
|
|
|
"short_name": "Bar",
|
|
|
|
"kind": 6,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0,
|
2018-09-08 05:29:36 +00:00
|
|
|
"declarations": ["5:8-5:11|5:3-5:30|15041163540773201510|2|1025|-1"],
|
|
|
|
"spell": "8:11-8:14|15041163540773201510|2|1026|-1",
|
|
|
|
"extent": "8:1-8:36|15041163540773201510|2|0|-1",
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"vars": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"uses": [],
|
|
|
|
"callees": []
|
|
|
|
}],
|
|
|
|
"usr2type": [{
|
2018-03-31 03:16:33 +00:00
|
|
|
"usr": 15041163540773201510,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "struct Foo {}",
|
|
|
|
"qual_name_offset": 7,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "Foo",
|
|
|
|
"kind": 23,
|
|
|
|
"declarations": [],
|
2018-09-08 05:29:36 +00:00
|
|
|
"spell": "4:8-4:11|0|1|2|-1",
|
|
|
|
"extent": "4:1-6:2|0|1|0|-1",
|
2018-04-30 04:49:03 +00:00
|
|
|
"alias_of": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"funcs": [8412238651648388423],
|
2018-03-31 03:16:33 +00:00
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
2018-09-08 05:29:36 +00:00
|
|
|
"uses": ["8:6-8:9|0|1|4|-1"]
|
2018-04-30 04:49:03 +00:00
|
|
|
}, {
|
|
|
|
"usr": 17107291254533526269,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "class Template {}",
|
|
|
|
"qual_name_offset": 6,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "Template",
|
|
|
|
"kind": 5,
|
|
|
|
"declarations": [],
|
2018-09-08 05:29:36 +00:00
|
|
|
"spell": "2:7-2:15|0|1|2|-1",
|
|
|
|
"extent": "2:1-2:18|0|1|0|-1",
|
2018-04-30 04:49:03 +00:00
|
|
|
"alias_of": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
2018-03-31 03:16:33 +00:00
|
|
|
"vars": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"instances": [],
|
2018-09-23 23:15:10 +00:00
|
|
|
"uses": ["5:12-5:20|15041163540773201510|2|4|-1", "8:15-8:23|0|1|4|-1"]
|
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
|
|
|
}
|
|
|
|
*/
|