ccls/index_tests/preprocessor/include_guard.cc

29 lines
469 B
C++
Raw Normal View History

2018-03-31 03:16:33 +00:00
#ifndef FOO
#define FOO
#endif
/*
OUTPUT:
{
"includes": [],
2018-07-07 23:56:47 +00:00
"skipped_ranges": [],
"usr2func": [],
"usr2type": [],
"usr2var": [{
2018-07-07 23:56:47 +00:00
"usr": 14219599523415845943,
2018-03-31 03:16:33 +00:00
"detailed_name": "FOO",
"qual_name_offset": 0,
2018-03-31 03:16:33 +00:00
"short_name": "FOO",
"hover": "#define FOO",
"declarations": [],
"spell": "2:9-2:12|0|1|2",
2018-07-07 23:56:47 +00:00
"extent": "2:9-2:12|0|1|2",
"type": 0,
2018-03-31 03:16:33 +00:00
"uses": [],
"kind": 255,
"storage": 0
}]
}
*/