mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 17:41:58 +00:00
23 lines
475 B
C++
23 lines
475 B
C++
static int global = 0;
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"types": [{
|
|
"id": 0,
|
|
"short_name": "",
|
|
"qualified_name": "",
|
|
"declaration": null
|
|
}],
|
|
"functions": [],
|
|
"variables": [{
|
|
"id": 0,
|
|
"short_name": "global",
|
|
"qualified_name": "global",
|
|
"declaration": "tests/vars/global_variable.cc:1:12",
|
|
"initializations": ["tests/vars/global_variable.cc:1:12"],
|
|
"variable_type": 0,
|
|
"declaring_type": null,
|
|
"uses": []
|
|
}]
|
|
}
|
|
*/ |