ccls/tests/function_declaration.cc
2017-11-07 01:00:59 -08:00

22 lines
469 B
C++

void foo(int a, int b);
/*
OUTPUT:
{
"funcs": [{
"id": 0,
"usr": "c:@F@foo#I#I#",
"short_name": "foo",
"detailed_name": "void foo(int, int)",
"is_constructor": false,
"parameter_type_descriptions": ["int", "int"],
"declarations": [{
"spelling": "1:6-1:9",
"extent": "1:1-1:23",
"content": "void foo(int a, int b)",
"param_spellings": ["1:14-1:15", "1:21-1:22"]
}]
}]
}
*/