2018-03-31 03:16:33 +00:00
|
|
|
struct Foo;
|
|
|
|
|
|
|
|
void foo(Foo* p0, Foo* p1) {}
|
|
|
|
|
|
|
|
/*
|
|
|
|
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": 8908726657907936744,
|
|
|
|
"detailed_name": "void foo(Foo *p0, Foo *p1)",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "foo",
|
|
|
|
"kind": 12,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"declarations": [],
|
2018-09-08 05:29:36 +00:00
|
|
|
"spell": "3:6-3:9|0|1|2|-1",
|
|
|
|
"extent": "3:1-3:30|0|1|0|-1",
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
2018-07-08 19:49:27 +00:00
|
|
|
"vars": [8730439006497971620, 2525014371090380500],
|
2018-03-31 03:16:33 +00:00
|
|
|
"uses": [],
|
|
|
|
"callees": []
|
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2type": [{
|
|
|
|
"usr": 15041163540773201510,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "struct Foo",
|
|
|
|
"qual_name_offset": 7,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "Foo",
|
|
|
|
"kind": 23,
|
2018-09-08 05:29:36 +00:00
|
|
|
"declarations": ["1:8-1:11|1:1-1:11|0|1|1|-1"],
|
2018-04-30 04:49:03 +00:00
|
|
|
"alias_of": 0,
|
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [8730439006497971620, 2525014371090380500],
|
2018-09-08 05:29:36 +00:00
|
|
|
"uses": ["3:10-3:13|0|1|4|-1", "3:19-3:22|0|1|4|-1"]
|
2018-04-30 04:49:03 +00:00
|
|
|
}],
|
|
|
|
"usr2var": [{
|
|
|
|
"usr": 2525014371090380500,
|
|
|
|
"detailed_name": "Foo *p1",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "p1",
|
2018-03-31 03:16:33 +00:00
|
|
|
"declarations": [],
|
2018-09-08 05:29:36 +00:00
|
|
|
"spell": "3:24-3:26|8908726657907936744|3|1026|-1",
|
|
|
|
"extent": "3:19-3:26|8908726657907936744|3|0|-1",
|
2018-04-30 04:49:03 +00:00
|
|
|
"type": 15041163540773201510,
|
2018-03-31 03:16:33 +00:00
|
|
|
"uses": [],
|
|
|
|
"kind": 253,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0
|
2018-03-31 03:16:33 +00:00
|
|
|
}, {
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr": 8730439006497971620,
|
|
|
|
"detailed_name": "Foo *p0",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-04-30 04:49:03 +00:00
|
|
|
"short_name": "p0",
|
2018-03-31 03:16:33 +00:00
|
|
|
"declarations": [],
|
2018-09-08 05:29:36 +00:00
|
|
|
"spell": "3:15-3:17|8908726657907936744|3|1026|-1",
|
|
|
|
"extent": "3:10-3:17|8908726657907936744|3|0|-1",
|
2018-04-30 04:49:03 +00:00
|
|
|
"type": 15041163540773201510,
|
2018-03-31 03:16:33 +00:00
|
|
|
"uses": [],
|
|
|
|
"kind": 253,
|
2018-06-01 23:51:39 +00:00
|
|
|
"storage": 0
|
2018-03-31 03:16:33 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
*/
|