ccls/index_tests/preprocessor/include_guard.cc
2018-09-08 14:27:44 -07:00

29 lines
475 B
C++

#ifndef FOO
#define FOO
#endif
/*
OUTPUT:
{
"includes": [],
"skipped_ranges": [],
"usr2func": [],
"usr2type": [],
"usr2var": [{
"usr": 14219599523415845943,
"detailed_name": "FOO",
"qual_name_offset": 0,
"short_name": "FOO",
"hover": "#define FOO",
"declarations": [],
"spell": "2:9-2:12|0|1|2|-1",
"extent": "2:9-2:12|0|1|0|-1",
"type": 0,
"uses": [],
"kind": 255,
"storage": 0
}]
}
*/