mirror of
https://github.com/MaskRay/ccls.git
synced 2024-12-17 20:07:09 +00:00
fac5c56682
Remove on_id_map, IndexMergeIndexUpdates
59 lines
1.3 KiB
C++
59 lines
1.3 KiB
C++
enum Foo {
|
|
A,
|
|
B = 20
|
|
};
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"includes": [],
|
|
"skipped_by_preprocessor": [],
|
|
"usr2func": [],
|
|
"usr2type": [{
|
|
"usr": 16985894625255407295,
|
|
"detailed_name": "Foo",
|
|
"qual_name_offset": 0,
|
|
"short_name": "Foo",
|
|
"kind": 10,
|
|
"declarations": [],
|
|
"spell": "1:6-1:9|0|1|2",
|
|
"extent": "1:1-4:2|0|1|0",
|
|
"alias_of": 0,
|
|
"bases": [],
|
|
"derived": [],
|
|
"types": [],
|
|
"funcs": [],
|
|
"vars": [],
|
|
"instances": [],
|
|
"uses": []
|
|
}],
|
|
"usr2var": [{
|
|
"usr": 439339022761937396,
|
|
"detailed_name": "Foo::A",
|
|
"qual_name_offset": 0,
|
|
"short_name": "A",
|
|
"hover": "Foo::A = 0",
|
|
"declarations": [],
|
|
"spell": "2:3-2:4|16985894625255407295|2|2",
|
|
"extent": "2:3-2:4|16985894625255407295|2|0",
|
|
"type": 16985894625255407295,
|
|
"uses": [],
|
|
"kind": 22,
|
|
"storage": 0
|
|
}, {
|
|
"usr": 15962370213938840720,
|
|
"detailed_name": "Foo::B",
|
|
"qual_name_offset": 0,
|
|
"short_name": "B",
|
|
"hover": "Foo::B = 20",
|
|
"declarations": [],
|
|
"spell": "3:3-3:4|16985894625255407295|2|2",
|
|
"extent": "3:3-3:9|16985894625255407295|2|0",
|
|
"type": 16985894625255407295,
|
|
"uses": [],
|
|
"kind": 22,
|
|
"storage": 0
|
|
}]
|
|
}
|
|
*/
|