mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-30 11:27:07 +00:00
40 lines
851 B
C++
40 lines
851 B
C++
#include "simple_header.h"
|
|
|
|
void impl() {
|
|
header();
|
|
}
|
|
|
|
/*
|
|
OUTPUT: simple_header.h
|
|
{
|
|
"funcs": [{
|
|
"id": 0,
|
|
"usr": "c:@F@header#",
|
|
"short_name": "header",
|
|
"detailed_name": "void header()",
|
|
"declarations": ["3:6-3:12"]
|
|
}]
|
|
}
|
|
OUTPUT: simple_impl.cc
|
|
{
|
|
"includes": [{
|
|
"line": 1,
|
|
"resolved_path": "C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/simple_header.h"
|
|
}],
|
|
"dependencies": ["C:/Users/jacob/Desktop/superindex/indexer/tests/multi_file/simple_header.h"],
|
|
"funcs": [{
|
|
"id": 0,
|
|
"usr": "c:@F@impl#",
|
|
"short_name": "impl",
|
|
"detailed_name": "void impl()",
|
|
"definition_spelling": "3:6-3:10",
|
|
"definition_extent": "3:1-5:2",
|
|
"callees": ["1@4:3-4:9"]
|
|
}, {
|
|
"id": 1,
|
|
"usr": "c:@F@header#",
|
|
"callers": ["0@4:3-4:9"]
|
|
}]
|
|
}
|
|
*/
|