mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
28 lines
660 B
C++
28 lines
660 B
C++
void called() {}
|
|
void caller() {
|
|
called();
|
|
}
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"types": [],
|
|
"functions": [{
|
|
"id": 0,
|
|
"usr": "c:@F@called#",
|
|
"short_name": "called",
|
|
"qualified_name": "called",
|
|
"definition": "tests/usage/func_usage_call_func.cc:1:6",
|
|
"callers": ["1@tests/usage/func_usage_call_func.cc:3:3"],
|
|
"uses": ["tests/usage/func_usage_call_func.cc:3:3"]
|
|
}, {
|
|
"id": 1,
|
|
"usr": "c:@F@caller#",
|
|
"short_name": "caller",
|
|
"qualified_name": "caller",
|
|
"definition": "tests/usage/func_usage_call_func.cc:2:6",
|
|
"callees": ["0@tests/usage/func_usage_call_func.cc:3:3"]
|
|
}],
|
|
"variables": []
|
|
}
|
|
*/ |