2018-03-31 03:16:33 +00:00
|
|
|
struct Type {
|
|
|
|
Type() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
void Make() {
|
|
|
|
Type foo0;
|
|
|
|
auto foo1 = Type();
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"includes": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"skipped_ranges": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2func": [{
|
|
|
|
"usr": 3957104924306079513,
|
|
|
|
"detailed_name": "void Make()",
|
|
|
|
"qual_name_offset": 5,
|
|
|
|
"short_name": "Make",
|
|
|
|
"kind": 12,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0,
|
2018-04-30 04:49:03 +00:00
|
|
|
"declarations": [],
|
|
|
|
"spell": "5:6-5:10|0|1|2",
|
|
|
|
"extent": "5:1-8:2|0|1|0",
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
2018-07-08 19:49:27 +00:00
|
|
|
"vars": [449111627548814328, 17097499197730163115],
|
2018-04-30 04:49:03 +00:00
|
|
|
"uses": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"callees": []
|
2018-04-30 04:49:03 +00:00
|
|
|
}, {
|
2018-03-31 03:16:33 +00:00
|
|
|
"usr": 10530961286677896857,
|
2018-06-01 23:51:39 +00:00
|
|
|
"detailed_name": "Type::Type()",
|
|
|
|
"qual_name_offset": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "Type",
|
|
|
|
"kind": 9,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"declarations": [],
|
2018-07-10 06:40:26 +00:00
|
|
|
"spell": "2:3-2:7|13487927231218873822|2|1026",
|
2018-04-30 04:49:03 +00:00
|
|
|
"extent": "2:3-2:12|13487927231218873822|2|0",
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"vars": [],
|
2018-07-15 18:27:59 +00:00
|
|
|
"uses": ["6:8-6:12|13487927231218873822|2|16676", "7:15-7:19|13487927231218873822|2|16676"],
|
2018-03-31 03:16:33 +00:00
|
|
|
"callees": []
|
2018-04-30 04:49:03 +00:00
|
|
|
}],
|
|
|
|
"usr2type": [{
|
|
|
|
"usr": 13487927231218873822,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "struct Type {}",
|
|
|
|
"qual_name_offset": 7,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "Type",
|
|
|
|
"kind": 23,
|
2018-07-07 23:56:47 +00:00
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "1:8-1:12|0|1|2",
|
|
|
|
"extent": "1:1-3:2|0|1|0",
|
|
|
|
"alias_of": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"types": [],
|
|
|
|
"funcs": [10530961286677896857],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [449111627548814328, 17097499197730163115],
|
2018-07-07 23:56:47 +00:00
|
|
|
"uses": ["2:3-2:7|0|1|4", "6:3-6:7|0|1|4", "7:15-7:19|0|1|4"]
|
2018-03-31 03:16:33 +00:00
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2var": [{
|
|
|
|
"usr": 449111627548814328,
|
2018-03-31 03:16:33 +00:00
|
|
|
"detailed_name": "Type foo0",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "foo0",
|
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "6:8-6:12|3957104924306079513|3|2",
|
|
|
|
"extent": "6:3-6:12|3957104924306079513|3|0",
|
|
|
|
"type": 13487927231218873822,
|
2018-03-31 03:16:33 +00:00
|
|
|
"uses": [],
|
|
|
|
"kind": 13,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0
|
2018-03-31 03:16:33 +00:00
|
|
|
}, {
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr": 17097499197730163115,
|
2018-07-08 19:49:27 +00:00
|
|
|
"detailed_name": "Type foo1",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "foo1",
|
2018-07-08 19:49:27 +00:00
|
|
|
"hover": "Type foo1 = Type()",
|
2018-03-31 03:16:33 +00:00
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "7:8-7:12|3957104924306079513|3|2",
|
|
|
|
"extent": "7:3-7:21|3957104924306079513|3|0",
|
|
|
|
"type": 13487927231218873822,
|
2018-03-31 03:16:33 +00:00
|
|
|
"uses": [],
|
|
|
|
"kind": 13,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0
|
2018-03-31 03:16:33 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
*/
|