mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-23 16:15:07 +00:00
71 lines
1.4 KiB
C++
71 lines
1.4 KiB
C++
#include "simple_header.h"
|
|
|
|
void impl() {
|
|
header();
|
|
}
|
|
|
|
/*
|
|
OUTPUT: simple_header.h
|
|
{
|
|
"includes": [],
|
|
"skipped_by_preprocessor": [],
|
|
"types": [],
|
|
"funcs": [{
|
|
"id": 0,
|
|
"is_operator": false,
|
|
"usr": "c:@F@header#",
|
|
"short_name": "header",
|
|
"detailed_name": "void header()",
|
|
"hover": "void header()",
|
|
"declarations": [{
|
|
"spelling": "3:6-3:12",
|
|
"extent": "3:1-3:14",
|
|
"content": "void header()",
|
|
"param_spellings": []
|
|
}],
|
|
"derived": [],
|
|
"locals": [],
|
|
"callers": [],
|
|
"callees": []
|
|
}],
|
|
"vars": []
|
|
}
|
|
OUTPUT: simple_impl.cc
|
|
{
|
|
"includes": [{
|
|
"line": 1,
|
|
"resolved_path": "&simple_header.h"
|
|
}],
|
|
"skipped_by_preprocessor": [],
|
|
"types": [],
|
|
"funcs": [{
|
|
"id": 0,
|
|
"is_operator": false,
|
|
"usr": "c:@F@impl#",
|
|
"short_name": "impl",
|
|
"detailed_name": "void impl()",
|
|
"hover": "void impl()",
|
|
"declarations": [],
|
|
"definition_spelling": "3:6-3:10",
|
|
"definition_extent": "3:1-5:2",
|
|
"derived": [],
|
|
"locals": [],
|
|
"callers": [],
|
|
"callees": ["1@4:3-4:9"]
|
|
}, {
|
|
"id": 1,
|
|
"is_operator": false,
|
|
"usr": "c:@F@header#",
|
|
"short_name": "",
|
|
"detailed_name": "",
|
|
"hover": "",
|
|
"declarations": [],
|
|
"derived": [],
|
|
"locals": [],
|
|
"callers": ["0@4:3-4:9"],
|
|
"callees": []
|
|
}],
|
|
"vars": []
|
|
}
|
|
*/
|