ccls/index_tests/vars/global_variable.cc

40 lines
810 B
C++
Raw Normal View History

2018-03-31 03:16:33 +00:00
static int global = 0;
/*
OUTPUT:
{
"includes": [],
2018-07-07 23:56:47 +00:00
"skipped_ranges": [],
"usr2func": [],
"usr2type": [{
2018-07-07 23:56:47 +00:00
"usr": 53,
2018-03-31 03:16:33 +00:00
"detailed_name": "",
"qual_name_offset": 0,
2018-03-31 03:16:33 +00:00
"short_name": "",
"kind": 0,
"declarations": [],
"alias_of": 0,
2018-03-31 03:16:33 +00:00
"bases": [],
"derived": [],
"types": [],
"funcs": [],
"vars": [],
"instances": [6834525061342585382],
2018-03-31 03:16:33 +00:00
"uses": []
}],
"usr2var": [{
2018-03-31 03:16:33 +00:00
"usr": 6834525061342585382,
2018-07-07 23:56:47 +00:00
"detailed_name": "static int global",
"qual_name_offset": 11,
2018-03-31 03:16:33 +00:00
"short_name": "global",
2018-07-07 23:56:47 +00:00
"hover": "static int global = 0",
2018-03-31 03:16:33 +00:00
"declarations": [],
"spell": "1:12-1:18|0|1|2",
"extent": "1:1-1:22|0|1|0",
2018-07-07 23:56:47 +00:00
"type": 53,
2018-03-31 03:16:33 +00:00
"uses": [],
"kind": 13,
"storage": 2
2018-03-31 03:16:33 +00:00
}]
}
*/