mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-30 11:27:07 +00:00
57 lines
1.5 KiB
C++
57 lines
1.5 KiB
C++
#include "static.h"
|
|
|
|
void Buffer::CreateSharedBuffer() {}
|
|
|
|
/*
|
|
OUTPUT: static.h
|
|
{
|
|
"dependencies": ["C:/Users/jacob/Desktop/cquery/tests/multi_file/static.cc"],
|
|
"types": [{
|
|
"id": 0,
|
|
"usr": "c:@S@Buffer",
|
|
"short_name": "Buffer",
|
|
"detailed_name": "Buffer",
|
|
"definition_spelling": "3:8-3:14",
|
|
"definition_extent": "3:1-5:2",
|
|
"funcs": [0],
|
|
"uses": ["3:8-3:14"]
|
|
}],
|
|
"funcs": [{
|
|
"id": 0,
|
|
"usr": "c:@S@Buffer@F@CreateSharedBuffer#S",
|
|
"short_name": "CreateSharedBuffer",
|
|
"detailed_name": "void Buffer::CreateSharedBuffer()",
|
|
"is_constructor": false,
|
|
"declarations": [{
|
|
"spelling": "4:15-4:33",
|
|
"extent": "4:3-4:35",
|
|
"content": "static void CreateSharedBuffer()"
|
|
}],
|
|
"declaring_type": 0
|
|
}]
|
|
}
|
|
OUTPUT: static.cc
|
|
{
|
|
"includes": [{
|
|
"line": 1,
|
|
"resolved_path": "C:/Users/jacob/Desktop/cquery/tests/multi_file/static.h"
|
|
}],
|
|
"dependencies": ["C:/Users/jacob/Desktop/cquery/tests/multi_file/static.h"],
|
|
"types": [{
|
|
"id": 0,
|
|
"usr": "c:@S@Buffer",
|
|
"funcs": [0],
|
|
"uses": ["3:6-3:12"]
|
|
}],
|
|
"funcs": [{
|
|
"id": 0,
|
|
"usr": "c:@S@Buffer@F@CreateSharedBuffer#S",
|
|
"short_name": "CreateSharedBuffer",
|
|
"detailed_name": "void Buffer::CreateSharedBuffer()",
|
|
"is_constructor": false,
|
|
"definition_spelling": "3:14-3:32",
|
|
"definition_extent": "3:1-3:37",
|
|
"declaring_type": 0
|
|
}]
|
|
}
|
|
*/ |