ccls/index_tests/preprocessor/include_guard.cc
Fangrui Song eb057c7acd Use usr as primary key and remove id; simplify import pipeline
Remove on_id_map, IndexMergeIndexUpdates
2019-10-23 21:56:51 -07:00

29 lines
478 B
C++

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