ccls/index_tests/preprocessor/include_guard.cc
Fangrui Song b872faa160 Simplify
2019-10-23 21:56:50 -07:00

29 lines
469 B
C++

#ifndef FOO
#define FOO
#endif
/*
OUTPUT:
{
"includes": [],
"skipped_by_preprocessor": [],
"types": [],
"funcs": [],
"vars": [{
"id": 0,
"usr": 13076155634261037336,
"detailed_name": "FOO",
"qual_name_offset": 0,
"short_name": "FOO",
"hover": "#define FOO",
"declarations": [],
"spell": "2:9-2:12|-1|1|2",
"extent": "2:9-2:12|-1|1|0",
"uses": [],
"kind": 255,
"storage": 0
}]
}
*/