mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-23 16:15:07 +00:00
b5305e14f2
This does not handle setting |is_macro|, this CL is about updating the tests.
22 lines
348 B
C++
22 lines
348 B
C++
#ifndef FOO
|
|
#define FOO
|
|
|
|
#endif
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"vars": [{
|
|
"id": 0,
|
|
"usr": "c:include_guard.cc@21@macro@FOO",
|
|
"short_name": "FOO",
|
|
"detailed_name": "FOO",
|
|
"definition_spelling": "2:9-2:12",
|
|
"definition_extent": "2:9-2:12",
|
|
"is_local": false,
|
|
"is_macro": false,
|
|
"uses": ["2:9-2:12"]
|
|
}]
|
|
}
|
|
*/
|