ccls/index_tests/vars/function_param_unnamed.cc
Fangrui Song fac5c56682 Use usr as primary key and remove id; simplify import pipeline
Remove on_id_map, IndexMergeIndexUpdates
2018-05-01 22:45:01 -07:00

28 lines
538 B
C++

void foo(int, int) {}
/*
OUTPUT:
{
"includes": [],
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 2747674671862363334,
"detailed_name": "void foo(int, int)",
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-1:22|0|1|0",
"declaring_type": 0,
"bases": [],
"derived": [],
"vars": [],
"uses": [],
"callees": []
}],
"usr2type": [],
"usr2var": []
}
*/