2017-04-08 18:36:32 +00:00
|
|
|
#define MACRO_CALL(e) e
|
|
|
|
|
|
|
|
bool called(bool a, bool b);
|
|
|
|
|
|
|
|
void caller() {
|
|
|
|
MACRO_CALL(called(true, true));
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"funcs": [{
|
|
|
|
"id": 0,
|
|
|
|
"usr": "c:@F@called#b#b#",
|
|
|
|
"short_name": "called",
|
2017-04-15 04:53:10 +00:00
|
|
|
"qualified_name": "bool called(bool, bool)",
|
2017-04-08 18:36:32 +00:00
|
|
|
"declarations": ["3:6-3:12"],
|
2017-04-13 07:47:47 +00:00
|
|
|
"callers": ["1@6:14-6:20"]
|
2017-04-08 18:36:32 +00:00
|
|
|
}, {
|
|
|
|
"id": 1,
|
|
|
|
"usr": "c:@F@caller#",
|
|
|
|
"short_name": "caller",
|
2017-04-15 04:53:10 +00:00
|
|
|
"qualified_name": "void caller()",
|
2017-04-08 18:36:32 +00:00
|
|
|
"definition_spelling": "5:6-5:12",
|
|
|
|
"definition_extent": "5:1-7:2",
|
2017-04-13 07:47:47 +00:00
|
|
|
"callees": ["0@6:14-6:20"]
|
2017-04-08 18:36:32 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
*/
|