mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-27 18:11:57 +00:00
69 lines
1.4 KiB
C++
69 lines
1.4 KiB
C++
#include "simple_header.h"
|
|
|
|
void impl() {
|
|
header();
|
|
}
|
|
|
|
/*
|
|
OUTPUT: simple_header.h
|
|
{
|
|
"includes": [],
|
|
"skipped_ranges": [],
|
|
"usr2func": [{
|
|
"usr": 16236105532929924676,
|
|
"detailed_name": "void header()",
|
|
"qual_name_offset": 5,
|
|
"short_name": "header",
|
|
"kind": 12,
|
|
"storage": 0,
|
|
"declarations": ["3:6-3:12|3:1-3:14|0|1|1|-1"],
|
|
"bases": [],
|
|
"derived": [],
|
|
"vars": [],
|
|
"uses": [],
|
|
"callees": []
|
|
}],
|
|
"usr2type": [],
|
|
"usr2var": []
|
|
}
|
|
OUTPUT: simple_impl.cc
|
|
{
|
|
"includes": [{
|
|
"line": 0,
|
|
"resolved_path": "&simple_header.h"
|
|
}],
|
|
"skipped_ranges": [],
|
|
"usr2func": [{
|
|
"usr": 3373269392705484958,
|
|
"detailed_name": "void impl()",
|
|
"qual_name_offset": 5,
|
|
"short_name": "impl",
|
|
"kind": 12,
|
|
"storage": 0,
|
|
"declarations": [],
|
|
"spell": "3:6-3:10|0|1|2|-1",
|
|
"extent": "3:1-5:2|0|1|0|-1",
|
|
"bases": [],
|
|
"derived": [],
|
|
"vars": [],
|
|
"uses": [],
|
|
"callees": ["4:3-4:9|16236105532929924676|3|16420"]
|
|
}, {
|
|
"usr": 16236105532929924676,
|
|
"detailed_name": "void header()",
|
|
"qual_name_offset": 5,
|
|
"short_name": "header",
|
|
"kind": 12,
|
|
"storage": 0,
|
|
"declarations": [],
|
|
"bases": [],
|
|
"derived": [],
|
|
"vars": [],
|
|
"uses": ["4:3-4:9|3373269392705484958|3|16420|-1"],
|
|
"callees": []
|
|
}],
|
|
"usr2type": [],
|
|
"usr2var": []
|
|
}
|
|
*/
|