2017-04-08 22:54:36 +00:00
|
|
|
#include "simple_header.h"
|
|
|
|
|
|
|
|
void impl() {
|
|
|
|
header();
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT: simple_header.h
|
|
|
|
{
|
|
|
|
"funcs": [{
|
|
|
|
"id": 0,
|
|
|
|
"usr": "c:@F@header#",
|
|
|
|
"short_name": "header",
|
2017-04-15 04:53:10 +00:00
|
|
|
"qualified_name": "void header()",
|
2017-04-13 07:47:47 +00:00
|
|
|
"declarations": ["3:6-3:12"]
|
2017-04-08 22:54:36 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
OUTPUT: simple_impl.cc
|
|
|
|
{
|
2017-04-11 05:26:27 +00:00
|
|
|
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/simple_header.h"],
|
2017-04-08 22:54:36 +00:00
|
|
|
"funcs": [{
|
|
|
|
"id": 0,
|
|
|
|
"usr": "c:@F@impl#",
|
|
|
|
"short_name": "impl",
|
2017-04-15 04:53:10 +00:00
|
|
|
"qualified_name": "void impl()",
|
2017-04-08 22:54:36 +00:00
|
|
|
"definition_spelling": "3:6-3:10",
|
|
|
|
"definition_extent": "3:1-5:2",
|
2017-04-13 07:47:47 +00:00
|
|
|
"callees": ["1@4:3-4:9"]
|
2017-04-08 22:54:36 +00:00
|
|
|
}, {
|
|
|
|
"id": 1,
|
|
|
|
"usr": "c:@F@header#",
|
2017-04-13 07:47:47 +00:00
|
|
|
"callers": ["0@4:3-4:9"]
|
2017-04-08 22:54:36 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
*/
|