ccls/index_tests/function_definition.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

29 lines
523 B
C++

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