ccls/tests/function_definition.cc
2017-12-18 21:20:00 -08:00

27 lines
483 B
C++

void foo() {}
/*
OUTPUT:
{
"includes": [],
"skipped_by_preprocessor": [],
"types": [],
"funcs": [{
"id": 0,
"is_operator": false,
"usr": "c:@F@foo#",
"short_name": "foo",
"detailed_name": "void foo()",
"hover": "void foo()",
"declarations": [],
"definition_spelling": "1:6-1:9",
"definition_extent": "1:1-1:14",
"derived": [],
"locals": [],
"callers": [],
"callees": []
}],
"vars": []
}
*/