ccls/tests/namespaces/anonymous_function.cc
2017-12-23 07:36:08 -08:00

32 lines
580 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 (anon)::foo()",
"declarations": [{
"spelling": "2:6-2:9",
"extent": "2:1-2:11",
"content": "void foo()",
"param_spellings": []
}],
"base": [],
"derived": [],
"locals": [],
"callers": [],
"callees": []
}],
"vars": []
}
*/