ccls/tests/vars/global_variable.cc
Jacob Dufault b5305e14f2 Add |is_macro| state to IndexVar.
This does not handle setting |is_macro|, this CL is about updating the
tests.
2017-06-28 23:25:29 -07:00

18 lines
346 B
C++

static int global = 0;
/*
OUTPUT:
{
"vars": [{
"id": 0,
"usr": "c:global_variable.cc@global",
"short_name": "global",
"detailed_name": "int global",
"definition_spelling": "1:12-1:18",
"definition_extent": "1:1-1:22",
"is_local": false,
"is_macro": false,
"uses": ["1:12-1:18"]
}]
}
*/