2018-03-31 03:16:33 +00:00
|
|
|
#include "simple_header.h"
|
|
|
|
|
|
|
|
void impl() {
|
|
|
|
header();
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT: simple_header.h
|
|
|
|
{
|
|
|
|
"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": 16236105532929924676,
|
|
|
|
"detailed_name": "void header()",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "header",
|
|
|
|
"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": [],
|
|
|
|
"uses": [],
|
|
|
|
"callees": []
|
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2type": [],
|
|
|
|
"usr2var": []
|
2018-03-31 03:16:33 +00:00
|
|
|
}
|
|
|
|
OUTPUT: simple_impl.cc
|
|
|
|
{
|
2018-07-08 07:46:53 +00:00
|
|
|
"includes": [{
|
|
|
|
"line": 0,
|
|
|
|
"resolved_path": "&simple_header.h"
|
|
|
|
}],
|
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": 3373269392705484958,
|
|
|
|
"detailed_name": "void impl()",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 5,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "impl",
|
|
|
|
"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": "3:6-3:10|0|1|2",
|
|
|
|
"extent": "3:1-5: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
|
|
|
}, {
|
|
|
|
"usr": 16236105532929924676,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "void header()",
|
|
|
|
"qual_name_offset": 5,
|
|
|
|
"short_name": "header",
|
|
|
|
"kind": 12,
|
2018-03-31 03:16:33 +00:00
|
|
|
"storage": 0,
|
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"declaring_type": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"vars": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"uses": ["4:3-4:9|0|1|8228"],
|
2018-03-31 03:16:33 +00:00
|
|
|
"callees": []
|
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2type": [],
|
|
|
|
"usr2var": []
|
2018-03-31 03:16:33 +00:00
|
|
|
}
|
|
|
|
*/
|