mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-27 10:02:03 +00:00
31 lines
556 B
C++
31 lines
556 B
C++
namespace {
|
|
void foo();
|
|
}
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"includes": [],
|
|
"skipped_by_preprocessor": [],
|
|
"types": [],
|
|
"funcs": [{
|
|
"id": 0,
|
|
"is_operator": false,
|
|
"usr": "c:anonymous_function.cc@aN@F@foo#",
|
|
"short_name": "foo",
|
|
"detailed_name": "void ::foo()",
|
|
"declarations": [{
|
|
"spelling": "2:6-2:9",
|
|
"extent": "2:1-2:11",
|
|
"content": "void foo()",
|
|
"param_spellings": []
|
|
}],
|
|
"derived": [],
|
|
"locals": [],
|
|
"callers": [],
|
|
"callees": []
|
|
}],
|
|
"vars": []
|
|
}
|
|
*/
|