mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-30 03:17:08 +00:00
b5305e14f2
This does not handle setting |is_macro|, this CL is about updating the tests.
18 lines
346 B
C++
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"]
|
|
}]
|
|
}
|
|
*/
|