ccls/tests/vars/global_variable_decl_only.cc

22 lines
380 B
C++
Raw Normal View History

2017-02-18 21:18:08 +00:00
extern int global;
2017-02-18 19:37:24 +00:00
/*
OUTPUT:
{
2017-12-12 05:15:37 +00:00
"includes": [],
"skipped_by_preprocessor": [],
"types": [],
"funcs": [],
2017-03-08 00:21:23 +00:00
"vars": [{
2017-02-18 21:18:08 +00:00
"id": 0,
2017-02-18 23:58:40 +00:00
"usr": "c:@global",
2017-02-18 21:18:08 +00:00
"short_name": "global",
"detailed_name": "int global",
"hover": "int",
2017-04-05 08:29:15 +00:00
"declaration": "1:12-1:18",
"is_local": false,
"is_macro": false,
2017-04-05 08:29:15 +00:00
"uses": ["1:12-1:18"]
2017-02-18 21:18:08 +00:00
}]
2017-02-18 19:37:24 +00:00
}
2017-03-08 00:21:23 +00:00
*/