ccls/index_tests/namespaces/anonymous_function.cc
2019-11-09 20:09:13 -08:00

29 lines
491 B
C++

namespace {
void foo();
}
/*
OUTPUT:
{
"includes": [],
"skipped_ranges": [],
"usr2func": [{
"usr": 5010253035933134245,
"detailed_name": "void (anon ns)::foo()",
"qual_name_offset": 5,
"short_name": "foo",
"bases": [],
"vars": [],
"callees": [],
"kind": 12,
"parent_kind": 0,
"storage": 0,
"declarations": ["2:6-2:9|2:1-2:11|1|-1"],
"derived": [],
"uses": []
}],
"usr2type": [],
"usr2var": []
}
*/