2018-03-31 03:16:33 +00:00
|
|
|
struct Base0 {
|
|
|
|
virtual ~Base0() { }
|
|
|
|
};
|
|
|
|
struct Base1 {
|
|
|
|
virtual ~Base1() { }
|
|
|
|
};
|
|
|
|
struct Derived : Base0, Base1 {
|
|
|
|
~Derived() override { }
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"includes": [],
|
|
|
|
"skipped_by_preprocessor": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2func": [{
|
|
|
|
"usr": 8401779086123965305,
|
2018-06-01 23:51:39 +00:00
|
|
|
"detailed_name": "virtual Base1::~Base1() noexcept",
|
|
|
|
"qual_name_offset": 8,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "~Base1",
|
2018-03-31 03:16:33 +00:00
|
|
|
"kind": 6,
|
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": "5:11-5:17|15826803741381445676|2|2",
|
|
|
|
"extent": "5:3-5:23|15826803741381445676|2|0",
|
|
|
|
"declaring_type": 15826803741381445676,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"derived": [13164726294460837993],
|
2018-03-31 03:16:33 +00:00
|
|
|
"vars": [],
|
|
|
|
"uses": [],
|
|
|
|
"callees": []
|
|
|
|
}, {
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr": 13164726294460837993,
|
2018-06-01 23:51:39 +00:00
|
|
|
"detailed_name": "Derived::~Derived() noexcept override",
|
|
|
|
"qual_name_offset": 0,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "~Derived",
|
2018-03-31 03:16:33 +00:00
|
|
|
"kind": 6,
|
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": "8:3-8:11|10963370434658308541|2|2",
|
|
|
|
"extent": "8:3-8:26|10963370434658308541|2|0",
|
|
|
|
"declaring_type": 10963370434658308541,
|
|
|
|
"bases": [16347272523198263017, 8401779086123965305],
|
|
|
|
"derived": [],
|
2018-03-31 03:16:33 +00:00
|
|
|
"vars": [],
|
|
|
|
"uses": [],
|
|
|
|
"callees": []
|
|
|
|
}, {
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr": 16347272523198263017,
|
2018-06-01 23:51:39 +00:00
|
|
|
"detailed_name": "virtual Base0::~Base0() noexcept",
|
|
|
|
"qual_name_offset": 8,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "~Base0",
|
2018-03-31 03:16:33 +00:00
|
|
|
"kind": 6,
|
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": "2:11-2:17|11628904180681204356|2|2",
|
|
|
|
"extent": "2:3-2:23|11628904180681204356|2|0",
|
|
|
|
"declaring_type": 11628904180681204356,
|
|
|
|
"bases": [],
|
|
|
|
"derived": [13164726294460837993],
|
2018-03-31 03:16:33 +00:00
|
|
|
"vars": [],
|
|
|
|
"uses": [],
|
|
|
|
"callees": []
|
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2type": [{
|
|
|
|
"usr": 10963370434658308541,
|
|
|
|
"detailed_name": "Derived",
|
|
|
|
"qual_name_offset": 0,
|
|
|
|
"short_name": "Derived",
|
|
|
|
"kind": 23,
|
|
|
|
"declarations": ["8:4-8:11|0|1|4"],
|
|
|
|
"spell": "7:8-7:15|0|1|2",
|
|
|
|
"extent": "7:1-9:2|0|1|0",
|
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [11628904180681204356, 15826803741381445676],
|
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [13164726294460837993],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
|
|
|
"uses": []
|
|
|
|
}, {
|
|
|
|
"usr": 11628904180681204356,
|
|
|
|
"detailed_name": "Base0",
|
|
|
|
"qual_name_offset": 0,
|
|
|
|
"short_name": "Base0",
|
|
|
|
"kind": 23,
|
|
|
|
"declarations": ["2:12-2:17|0|1|4", "7:18-7:23|0|1|4"],
|
|
|
|
"spell": "1:8-1:13|0|1|2",
|
|
|
|
"extent": "1:1-3:2|0|1|0",
|
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [],
|
|
|
|
"derived": [10963370434658308541],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [16347272523198263017],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
|
|
|
"uses": ["7:18-7:23|0|1|4"]
|
|
|
|
}, {
|
|
|
|
"usr": 15826803741381445676,
|
|
|
|
"detailed_name": "Base1",
|
|
|
|
"qual_name_offset": 0,
|
|
|
|
"short_name": "Base1",
|
|
|
|
"kind": 23,
|
|
|
|
"declarations": ["5:12-5:17|0|1|4", "7:25-7:30|0|1|4"],
|
|
|
|
"spell": "4:8-4:13|0|1|2",
|
|
|
|
"extent": "4:1-6:2|0|1|0",
|
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [],
|
|
|
|
"derived": [10963370434658308541],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [8401779086123965305],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
|
|
|
"uses": ["7:25-7:30|0|1|4"]
|
|
|
|
}],
|
|
|
|
"usr2var": []
|
2018-03-31 03:16:33 +00:00
|
|
|
}
|
|
|
|
*/
|