2018-03-31 03:16:33 +00:00
|
|
|
#define MACRO_CALL(e) e
|
|
|
|
|
|
|
|
bool called(bool a, bool b);
|
|
|
|
|
|
|
|
void caller() {
|
|
|
|
MACRO_CALL(called(true, true));
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"includes": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"skipped_ranges": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2func": [{
|
2018-03-31 03:16:33 +00:00
|
|
|
"usr": 3787803219955606747,
|
|
|
|
"detailed_name": "bool called(bool a, bool b)",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "called",
|
|
|
|
"kind": 12,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0,
|
2018-04-30 04:49:03 +00:00
|
|
|
"declarations": ["3:6-3:12|0|1|1"],
|
|
|
|
"declaring_type": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"vars": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"uses": ["6:14-6:20|0|1|8228"],
|
2018-03-31 03:16:33 +00:00
|
|
|
"callees": []
|
|
|
|
}, {
|
|
|
|
"usr": 11404881820527069090,
|
|
|
|
"detailed_name": "void caller()",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "caller",
|
|
|
|
"kind": 12,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "5:6-5:12|0|1|2",
|
|
|
|
"extent": "5:1-7:2|0|1|0",
|
|
|
|
"declaring_type": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"vars": [],
|
|
|
|
"uses": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"callees": []
|
2018-03-31 03:16:33 +00:00
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2type": [],
|
|
|
|
"usr2var": [{
|
2018-07-07 23:56:47 +00:00
|
|
|
"usr": 16326993795872073150,
|
2018-03-31 03:16:33 +00:00
|
|
|
"detailed_name": "MACRO_CALL",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "MACRO_CALL",
|
2018-07-07 23:56:47 +00:00
|
|
|
"hover": "#define MACRO_CALL",
|
2018-03-31 03:16:33 +00:00
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "1:9-1:19|0|1|2",
|
2018-07-07 23:56:47 +00:00
|
|
|
"extent": "1:9-1:19|0|1|2",
|
2018-04-30 04:49:03 +00:00
|
|
|
"type": 0,
|
2018-07-07 23:56:47 +00:00
|
|
|
"uses": ["6:3-6:33|0|1|4"],
|
2018-03-31 03:16:33 +00:00
|
|
|
"kind": 255,
|
|
|
|
"storage": 0
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
*/
|