2018-03-31 03:16:33 +00:00
|
|
|
class Root {};
|
|
|
|
class MiddleA : public Root {};
|
|
|
|
class MiddleB : public Root {};
|
|
|
|
class Derived : public MiddleA, public MiddleB {};
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"includes": [],
|
|
|
|
"skipped_by_preprocessor": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2func": [],
|
|
|
|
"usr2type": [{
|
2018-03-31 03:16:33 +00:00
|
|
|
"usr": 3897841498936210886,
|
|
|
|
"detailed_name": "Root",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "Root",
|
|
|
|
"kind": 5,
|
2018-04-30 04:49:03 +00:00
|
|
|
"declarations": ["2:24-2:28|0|1|4", "3:24-3:28|0|1|4"],
|
|
|
|
"spell": "1:7-1:11|0|1|2",
|
|
|
|
"extent": "1:1-1:14|0|1|0",
|
|
|
|
"alias_of": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"derived": [11863524815063131483, 14022569716337624303],
|
2018-03-31 03:16:33 +00:00
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"uses": ["2:24-2:28|0|1|4", "3:24-3:28|0|1|4"]
|
2018-03-31 03:16:33 +00:00
|
|
|
}, {
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr": 10963370434658308541,
|
|
|
|
"detailed_name": "Derived",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 0,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "Derived",
|
2018-03-31 03:16:33 +00:00
|
|
|
"kind": 5,
|
2018-04-30 04:49:03 +00:00
|
|
|
"declarations": [],
|
|
|
|
"spell": "4:7-4:14|0|1|2",
|
|
|
|
"extent": "4:1-4:50|0|1|0",
|
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [11863524815063131483, 14022569716337624303],
|
|
|
|
"derived": [],
|
2018-03-31 03:16:33 +00:00
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"uses": []
|
2018-03-31 03:16:33 +00:00
|
|
|
}, {
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr": 11863524815063131483,
|
|
|
|
"detailed_name": "MiddleA",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 0,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "MiddleA",
|
2018-03-31 03:16:33 +00:00
|
|
|
"kind": 5,
|
2018-04-30 04:49:03 +00:00
|
|
|
"declarations": ["4:24-4:31|0|1|4"],
|
|
|
|
"spell": "2:7-2:14|0|1|2",
|
|
|
|
"extent": "2:1-2:31|0|1|0",
|
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [3897841498936210886],
|
|
|
|
"derived": [10963370434658308541],
|
2018-03-31 03:16:33 +00:00
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"uses": ["4:24-4:31|0|1|4"]
|
2018-03-31 03:16:33 +00:00
|
|
|
}, {
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr": 14022569716337624303,
|
|
|
|
"detailed_name": "MiddleB",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 0,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "MiddleB",
|
2018-03-31 03:16:33 +00:00
|
|
|
"kind": 5,
|
2018-04-30 04:49:03 +00:00
|
|
|
"declarations": ["4:40-4:47|0|1|4"],
|
|
|
|
"spell": "3:7-3:14|0|1|2",
|
|
|
|
"extent": "3:1-3:31|0|1|0",
|
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [3897841498936210886],
|
|
|
|
"derived": [10963370434658308541],
|
2018-03-31 03:16:33 +00:00
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"uses": ["4:40-4:47|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
|
|
|
}
|
|
|
|
*/
|