ccls/index_tests/vars/function_param_unnamed.cc

27 lines
500 B
C++
Raw Normal View History

2018-03-31 03:16:33 +00:00
void foo(int, int) {}
/*
OUTPUT:
{
"includes": [],
2018-07-07 23:56:47 +00:00
"skipped_ranges": [],
"usr2func": [{
2018-03-31 03:16:33 +00:00
"usr": 2747674671862363334,
"detailed_name": "void foo(int, int)",
"qual_name_offset": 5,
2018-03-31 03:16:33 +00:00
"short_name": "foo",
"spell": "1:6-1:9|1:1-1:22|2|-1",
"bases": [],
"vars": [],
"callees": [],
2018-03-31 03:16:33 +00:00
"kind": 12,
"parent_kind": 0,
"storage": 0,
2018-03-31 03:16:33 +00:00
"declarations": [],
"derived": [],
"uses": []
2018-03-31 03:16:33 +00:00
}],
"usr2type": [],
"usr2var": []
2018-03-31 03:16:33 +00:00
}
*/