mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 16:45:07 +00:00
46 lines
945 B
C++
46 lines
945 B
C++
void called() {}
|
|
void caller() {
|
|
called();
|
|
}
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"includes": [],
|
|
"skipped_ranges": [],
|
|
"usr2func": [{
|
|
"usr": 468307235068920063,
|
|
"detailed_name": "void called()",
|
|
"qual_name_offset": 5,
|
|
"short_name": "called",
|
|
"spell": "1:6-1:12|1:1-1:17|2|-1",
|
|
"bases": [],
|
|
"vars": [],
|
|
"callees": [],
|
|
"kind": 12,
|
|
"parent_kind": 0,
|
|
"storage": 0,
|
|
"declarations": [],
|
|
"derived": [],
|
|
"uses": ["3:3-3:9|16420|-1"]
|
|
}, {
|
|
"usr": 11404881820527069090,
|
|
"detailed_name": "void caller()",
|
|
"qual_name_offset": 5,
|
|
"short_name": "caller",
|
|
"spell": "2:6-2:12|2:1-4:2|2|-1",
|
|
"bases": [],
|
|
"vars": [],
|
|
"callees": ["3:3-3:9|468307235068920063|3|16420"],
|
|
"kind": 12,
|
|
"parent_kind": 0,
|
|
"storage": 0,
|
|
"declarations": [],
|
|
"derived": [],
|
|
"uses": []
|
|
}],
|
|
"usr2type": [],
|
|
"usr2var": []
|
|
}
|
|
*/
|