ccls/index_tests/inheritance/interface_pure_virtual.cc

48 lines
1.0 KiB
C++
Raw Normal View History

2018-03-31 03:16:33 +00:00
class IFoo {
virtual void foo() = 0;
};
/*
OUTPUT:
{
"includes": [],
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 3277829753446788562,
"detailed_name": "virtual void IFoo::foo() = 0",
"qual_name_offset": 13,
"short_name": "foo",
"kind": 6,
"storage": 0,
"declarations": [],
"spell": "2:16-2:19|9949214233977131946|2|2",
"extent": "2:3-2:25|9949214233977131946|2|0",
"declaring_type": 9949214233977131946,
"bases": [],
"derived": [],
"vars": [],
"uses": [],
"callees": []
}],
"usr2type": [{
2018-03-31 03:16:33 +00:00
"usr": 9949214233977131946,
"detailed_name": "IFoo",
"qual_name_offset": 0,
2018-03-31 03:16:33 +00:00
"short_name": "IFoo",
"kind": 5,
"declarations": [],
"spell": "1:7-1:11|0|1|2",
"extent": "1:1-3:2|0|1|0",
"alias_of": 0,
2018-03-31 03:16:33 +00:00
"bases": [],
"derived": [],
"types": [],
"funcs": [3277829753446788562],
2018-03-31 03:16:33 +00:00
"vars": [],
"instances": [],
"uses": []
}],
"usr2var": []
2018-03-31 03:16:33 +00:00
}
*/