ccls/index_tests/inheritance/interface_pure_virtual.cc

46 lines
940 B
C++
Raw Normal View History

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