mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 00:25:07 +00:00
47 lines
932 B
C++
47 lines
932 B
C++
class Foo {
|
|
void foo() {}
|
|
};
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"includes": [],
|
|
"skipped_ranges": [],
|
|
"usr2func": [{
|
|
"usr": 17922201480358737771,
|
|
"detailed_name": "void Foo::foo()",
|
|
"qual_name_offset": 5,
|
|
"short_name": "foo",
|
|
"spell": "2:8-2:11|2:3-2:16|1026|-1",
|
|
"bases": [],
|
|
"vars": [],
|
|
"callees": [],
|
|
"kind": 6,
|
|
"parent_kind": 5,
|
|
"storage": 0,
|
|
"declarations": [],
|
|
"derived": [],
|
|
"uses": []
|
|
}],
|
|
"usr2type": [{
|
|
"usr": 15041163540773201510,
|
|
"detailed_name": "class Foo {}",
|
|
"qual_name_offset": 6,
|
|
"short_name": "Foo",
|
|
"spell": "1:7-1:10|1:1-3:2|2|-1",
|
|
"bases": [],
|
|
"funcs": [17922201480358737771],
|
|
"types": [],
|
|
"vars": [],
|
|
"alias_of": 0,
|
|
"kind": 5,
|
|
"parent_kind": 0,
|
|
"declarations": [],
|
|
"derived": [],
|
|
"instances": [],
|
|
"uses": []
|
|
}],
|
|
"usr2var": []
|
|
}
|
|
*/
|