2018-03-31 03:16:33 +00:00
|
|
|
struct Foo {};
|
|
|
|
|
|
|
|
template<class T>
|
|
|
|
Foo::Foo() {}
|
|
|
|
|
|
|
|
/*
|
|
|
|
EXTRA_FLAGS:
|
|
|
|
-fms-compatibility
|
|
|
|
-fdelayed-template-parsing
|
|
|
|
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"includes": [],
|
|
|
|
"skipped_by_preprocessor": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2func": [{
|
2018-03-31 03:16:33 +00:00
|
|
|
"usr": 17319723337446061757,
|
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-03-31 03:16:33 +00:00
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "4:6-4:9|15041163540773201510|2|2",
|
|
|
|
"extent": "4:1-4:11|0|1|0",
|
|
|
|
"declaring_type": 15041163540773201510,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"vars": [],
|
|
|
|
"uses": [],
|
|
|
|
"callees": []
|
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2type": [{
|
|
|
|
"usr": 15041163540773201510,
|
|
|
|
"detailed_name": "Foo",
|
|
|
|
"qual_name_offset": 0,
|
|
|
|
"short_name": "Foo",
|
|
|
|
"kind": 23,
|
|
|
|
"declarations": ["4:6-4:9|0|1|4"],
|
|
|
|
"spell": "1:8-1:11|0|1|2",
|
|
|
|
"extent": "1:1-1:14|0|1|0",
|
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [17319723337446061757],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
|
|
|
"uses": ["4:6-4:9|0|1|4", "4:1-4:4|0|1|4"]
|
|
|
|
}],
|
|
|
|
"usr2var": []
|
2018-03-31 03:16:33 +00:00
|
|
|
}
|
|
|
|
*/
|