mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-30 11:27:07 +00:00
46 lines
957 B
C++
46 lines
957 B
C++
void called() {}
|
|
void caller() {
|
|
called();
|
|
}
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"includes": [],
|
|
"skipped_by_preprocessor": [],
|
|
"types": [],
|
|
"funcs": [{
|
|
"id": 0,
|
|
"is_operator": false,
|
|
"usr": "c:@F@called#",
|
|
"short_name": "called",
|
|
"detailed_name": "void called()",
|
|
"hover": "void called()",
|
|
"declarations": [],
|
|
"definition_spelling": "1:6-1:12",
|
|
"definition_extent": "1:1-1:17",
|
|
"base": [],
|
|
"derived": [],
|
|
"locals": [],
|
|
"callers": ["1@3:3-3:9"],
|
|
"callees": []
|
|
}, {
|
|
"id": 1,
|
|
"is_operator": false,
|
|
"usr": "c:@F@caller#",
|
|
"short_name": "caller",
|
|
"detailed_name": "void caller()",
|
|
"hover": "void caller()",
|
|
"declarations": [],
|
|
"definition_spelling": "2:6-2:12",
|
|
"definition_extent": "2:1-4:2",
|
|
"base": [],
|
|
"derived": [],
|
|
"locals": [],
|
|
"callers": [],
|
|
"callees": ["0@3:3-3:9"]
|
|
}],
|
|
"vars": []
|
|
}
|
|
*/
|