ccls/index_tests/multi_file/static.cc

87 lines
1.9 KiB
C++
Raw Permalink Normal View History

2018-03-31 03:16:33 +00:00
#include "static.h"
void Buffer::CreateSharedBuffer() {}
/*
OUTPUT: static.h
{
"includes": [],
2018-07-07 23:56:47 +00:00
"skipped_ranges": [],
"usr2func": [{
"usr": 14576076421851654759,
"detailed_name": "static void Buffer::CreateSharedBuffer()",
"qual_name_offset": 12,
"short_name": "CreateSharedBuffer",
"bases": [],
"vars": [],
"callees": [],
"kind": 254,
"parent_kind": 0,
2018-07-07 23:56:47 +00:00
"storage": 0,
"declarations": ["4:15-4:33|4:3-4:35|1025|-1"],
"derived": [],
"uses": []
}],
"usr2type": [{
2018-03-31 03:16:33 +00:00
"usr": 9411323049603567600,
2018-07-07 23:56:47 +00:00
"detailed_name": "struct Buffer {}",
"qual_name_offset": 7,
2018-03-31 03:16:33 +00:00
"short_name": "Buffer",
"spell": "3:8-3:14|3:1-5:2|2|-1",
2018-03-31 03:16:33 +00:00
"bases": [],
"funcs": [14576076421851654759],
"types": [],
2018-03-31 03:16:33 +00:00
"vars": [],
"alias_of": 0,
"kind": 23,
"parent_kind": 0,
"declarations": [],
"derived": [],
2018-03-31 03:16:33 +00:00
"instances": [],
"uses": []
}],
"usr2var": []
}
OUTPUT: static.cc
{
2018-07-08 07:46:53 +00:00
"includes": [{
"line": 0,
"resolved_path": "&static.h"
}],
2018-07-07 23:56:47 +00:00
"skipped_ranges": [],
"usr2func": [{
2018-03-31 03:16:33 +00:00
"usr": 14576076421851654759,
"detailed_name": "static void Buffer::CreateSharedBuffer()",
"qual_name_offset": 12,
2018-03-31 03:16:33 +00:00
"short_name": "CreateSharedBuffer",
"spell": "3:14-3:32|3:1-3:37|1026|-1",
"bases": [],
"vars": [],
"callees": [],
"kind": 254,
"parent_kind": 23,
"storage": 0,
"declarations": [],
2018-03-31 03:16:33 +00:00
"derived": [],
"uses": []
2018-03-31 03:16:33 +00:00
}],
"usr2type": [{
2018-03-31 03:16:33 +00:00
"usr": 9411323049603567600,
2018-07-07 23:56:47 +00:00
"detailed_name": "struct Buffer {}",
"qual_name_offset": 7,
"short_name": "Buffer",
2018-03-31 03:16:33 +00:00
"bases": [],
"funcs": [14576076421851654759],
"types": [],
2018-03-31 03:16:33 +00:00
"vars": [],
"alias_of": 0,
"kind": 23,
"parent_kind": 0,
"declarations": [],
"derived": [],
2018-03-31 03:16:33 +00:00
"instances": [],
"uses": ["3:6-3:12|4|-1"]
2018-03-31 03:16:33 +00:00
}],
"usr2var": []
2018-03-31 03:16:33 +00:00
}
*/