2018-03-31 03:16:33 +00:00
|
|
|
class Parent {};
|
|
|
|
class Derived : public Parent {};
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"includes": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"skipped_ranges": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2func": [],
|
|
|
|
"usr2type": [{
|
2018-03-31 03:16:33 +00:00
|
|
|
"usr": 3866412049634585509,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "class Parent {}",
|
|
|
|
"qual_name_offset": 6,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "Parent",
|
|
|
|
"kind": 5,
|
2018-07-07 23:56:47 +00:00
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "1:7-1:13|0|1|2",
|
|
|
|
"extent": "1:1-1:16|0|1|0",
|
|
|
|
"alias_of": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"derived": [10963370434658308541],
|
2018-03-31 03:16:33 +00:00
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
2018-07-10 06:40:26 +00:00
|
|
|
"uses": ["2:24-2:30|0|1|2052"]
|
2018-03-31 03:16:33 +00:00
|
|
|
}, {
|
|
|
|
"usr": 10963370434658308541,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "class Derived : public Parent {}",
|
|
|
|
"qual_name_offset": 6,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "Derived",
|
|
|
|
"kind": 5,
|
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "2:7-2:14|0|1|2",
|
|
|
|
"extent": "2:1-2:33|0|1|0",
|
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [3866412049634585509],
|
2018-03-31 03:16:33 +00:00
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
|
|
|
"uses": []
|
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2var": []
|
2018-03-31 03:16:33 +00:00
|
|
|
}
|
|
|
|
*/
|