mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 17:41:58 +00:00
39 lines
683 B
C++
39 lines
683 B
C++
|
#include "simple_header.h"
|
||
|
|
||
|
void impl() {
|
||
|
header();
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
OUTPUT: simple_header.h
|
||
|
{
|
||
|
"funcs": [{
|
||
|
"id": 0,
|
||
|
"usr": "c:@F@header#",
|
||
|
"short_name": "header",
|
||
|
"qualified_name": "header",
|
||
|
"declarations": ["3:6-3:12"],
|
||
|
"uses": ["3:6-3:12"]
|
||
|
}]
|
||
|
}
|
||
|
|
||
|
OUTPUT: simple_impl.cc
|
||
|
{
|
||
|
"funcs": [{
|
||
|
"id": 0,
|
||
|
"usr": "c:@F@impl#",
|
||
|
"short_name": "impl",
|
||
|
"qualified_name": "impl",
|
||
|
"definition_spelling": "3:6-3:10",
|
||
|
"definition_extent": "3:1-5:2",
|
||
|
"callees": ["1@4:3-4:9"],
|
||
|
"uses": ["3:6-3:10"]
|
||
|
}, {
|
||
|
"id": 1,
|
||
|
"usr": "c:@F@header#",
|
||
|
"callers": ["0@4:3-4:9"],
|
||
|
"uses": ["4:3-4:9"]
|
||
|
}]
|
||
|
}
|
||
|
*/
|