2017-04-08 22:54:36 +00:00
|
|
|
#include "simple_header.h"
|
|
|
|
|
|
|
|
void impl() {
|
|
|
|
header();
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT: simple_header.h
|
|
|
|
{
|
2017-12-12 05:15:37 +00:00
|
|
|
"includes": [],
|
|
|
|
"skipped_by_preprocessor": [],
|
|
|
|
"types": [],
|
2017-04-08 22:54:36 +00:00
|
|
|
"funcs": [{
|
|
|
|
"id": 0,
|
2017-12-02 01:07:03 +00:00
|
|
|
"is_operator": false,
|
2017-04-08 22:54:36 +00:00
|
|
|
"usr": "c:@F@header#",
|
|
|
|
"short_name": "header",
|
2017-04-15 04:58:07 +00:00
|
|
|
"detailed_name": "void header()",
|
2017-05-27 21:09:20 +00:00
|
|
|
"declarations": [{
|
2017-05-28 01:53:22 +00:00
|
|
|
"spelling": "3:6-3:12",
|
|
|
|
"extent": "3:1-3:14",
|
2017-12-12 05:15:37 +00:00
|
|
|
"content": "void header()",
|
|
|
|
"param_spellings": []
|
|
|
|
}],
|
|
|
|
"derived": [],
|
|
|
|
"locals": [],
|
|
|
|
"callers": [],
|
|
|
|
"callees": []
|
|
|
|
}],
|
|
|
|
"vars": []
|
2017-04-08 22:54:36 +00:00
|
|
|
}
|
|
|
|
OUTPUT: simple_impl.cc
|
|
|
|
{
|
2017-05-21 03:46:15 +00:00
|
|
|
"includes": [{
|
|
|
|
"line": 1,
|
2017-11-30 03:21:23 +00:00
|
|
|
"resolved_path": "&simple_header.h"
|
2017-05-21 03:46:15 +00:00
|
|
|
}],
|
2017-12-12 05:15:37 +00:00
|
|
|
"skipped_by_preprocessor": [],
|
|
|
|
"types": [],
|
2017-04-08 22:54:36 +00:00
|
|
|
"funcs": [{
|
|
|
|
"id": 0,
|
2017-12-02 01:07:03 +00:00
|
|
|
"is_operator": false,
|
2017-04-08 22:54:36 +00:00
|
|
|
"usr": "c:@F@impl#",
|
|
|
|
"short_name": "impl",
|
2017-04-15 04:58:07 +00:00
|
|
|
"detailed_name": "void impl()",
|
2017-12-12 05:15:37 +00:00
|
|
|
"declarations": [],
|
2017-04-08 22:54:36 +00:00
|
|
|
"definition_spelling": "3:6-3:10",
|
|
|
|
"definition_extent": "3:1-5:2",
|
2017-12-12 05:15:37 +00:00
|
|
|
"derived": [],
|
|
|
|
"locals": [],
|
|
|
|
"callers": [],
|
2017-04-13 07:47:47 +00:00
|
|
|
"callees": ["1@4:3-4:9"]
|
2017-04-08 22:54:36 +00:00
|
|
|
}, {
|
|
|
|
"id": 1,
|
2017-12-02 01:07:03 +00:00
|
|
|
"is_operator": false,
|
2017-04-08 22:54:36 +00:00
|
|
|
"usr": "c:@F@header#",
|
2017-12-12 05:06:27 +00:00
|
|
|
"short_name": "",
|
|
|
|
"detailed_name": "",
|
2017-12-12 05:15:37 +00:00
|
|
|
"declarations": [],
|
|
|
|
"derived": [],
|
|
|
|
"locals": [],
|
|
|
|
"callers": ["0@4:3-4:9"],
|
|
|
|
"callees": []
|
|
|
|
}],
|
|
|
|
"vars": []
|
2017-04-08 22:54:36 +00:00
|
|
|
}
|
|
|
|
*/
|