mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 17:41:58 +00:00
19 lines
293 B
C++
19 lines
293 B
C++
namespace hello {
|
|
void foo() {}
|
|
}
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"funcs": [{
|
|
"id": 0,
|
|
"usr": "c:@N@hello@F@foo#",
|
|
"short_name": "foo",
|
|
"qualified_name": "hello::foo",
|
|
"definition_spelling": "2:6-2:9",
|
|
"definition_extent": "2:1-2:14",
|
|
"uses": ["2:6-2:9"]
|
|
}]
|
|
}
|
|
*/
|