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

29 lines
525 B
C++

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