ccls/tests/preprocessor/skipped.cc

26 lines
233 B
C++
Raw Normal View History

#ifdef FOOBAR
void hello();
#endif
#if false
#endif
#if defined(OS_FOO)
#endif
/*
OUTPUT:
{
2017-12-12 05:15:37 +00:00
"includes": [],
"skipped_by_preprocessor": ["2:1-4:7", "6:1-10:7", "12:1-14:7"],
"types": [],
"funcs": [],
"vars": []
}
*/