mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Add is_constructor to indexer
This commit is contained in:
parent
9cb4008023
commit
510594cdcd
@ -1009,6 +1009,8 @@ void indexDeclaration(CXClientData client_data, const CXIdxDeclInfo* decl) {
|
|||||||
AddDeclTypeUsages(db, decl_cursor, decl->semanticContainer,
|
AddDeclTypeUsages(db, decl_cursor, decl->semanticContainer,
|
||||||
decl->lexicalContainer);
|
decl->lexicalContainer);
|
||||||
|
|
||||||
|
func->is_constructor = decl->entityInfo->kind == CXIdxEntity_CXXConstructor;
|
||||||
|
|
||||||
// Add parameter list if we haven't seen this function before.
|
// Add parameter list if we haven't seen this function before.
|
||||||
//
|
//
|
||||||
// note: If the function has no parameters, this block will be rerun
|
// note: If the function has no parameters, this block will be rerun
|
||||||
@ -1110,8 +1112,8 @@ void indexDeclaration(CXClientData client_data, const CXIdxDeclInfo* decl) {
|
|||||||
clang_getOverriddenCursors(decl->cursor, &overridden,
|
clang_getOverriddenCursors(decl->cursor, &overridden,
|
||||||
&num_overridden);
|
&num_overridden);
|
||||||
|
|
||||||
// FIXME if it ever shows up. Methods should only ever have 1 base
|
// FIXME: this happens for destructors when there are multiple
|
||||||
// type, though.
|
// parent classes.
|
||||||
if (num_overridden > 1)
|
if (num_overridden > 1)
|
||||||
std::cerr << "[indexer]: warning: multiple base overrides for "
|
std::cerr << "[indexer]: warning: multiple base overrides for "
|
||||||
<< func->def.detailed_name << std::endl;
|
<< func->def.detailed_name << std::endl;
|
||||||
@ -1311,10 +1313,6 @@ void indexEntityReference(CXClientData client_data,
|
|||||||
|
|
||||||
clang::Cursor cursor(ref->cursor);
|
clang::Cursor cursor(ref->cursor);
|
||||||
|
|
||||||
// std::cerr << "REF kind=" << ref->referencedEntity->kind << " at " <<
|
|
||||||
// db->id_cache.Resolve(cursor, false).ToPrettyString(&db->id_cache) <<
|
|
||||||
// std::endl;
|
|
||||||
|
|
||||||
switch (ref->referencedEntity->kind) {
|
switch (ref->referencedEntity->kind) {
|
||||||
case CXIdxEntity_CXXNamespaceAlias:
|
case CXIdxEntity_CXXNamespaceAlias:
|
||||||
case CXIdxEntity_CXXNamespace: {
|
case CXIdxEntity_CXXNamespace: {
|
||||||
|
@ -329,6 +329,8 @@ struct IndexFunc {
|
|||||||
std::vector<Range> param_spellings;
|
std::vector<Range> param_spellings;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// True iff this is a constructor.
|
||||||
|
bool is_constructor = false;
|
||||||
// Type description for each parameter. This is stored in the sharable
|
// Type description for each parameter. This is stored in the sharable
|
||||||
// section (instead of the def) because it is while indexing cross-refs for
|
// section (instead of the def) because it is while indexing cross-refs for
|
||||||
// constructors, which means the def may not yet be available if the function
|
// constructors, which means the def may not yet be available if the function
|
||||||
|
@ -86,6 +86,7 @@ void Reflect(TVisitor& visitor, IndexFunc& value) {
|
|||||||
REFLECT_MEMBER2("usr", value.def.usr);
|
REFLECT_MEMBER2("usr", value.def.usr);
|
||||||
REFLECT_MEMBER2("short_name", value.def.short_name);
|
REFLECT_MEMBER2("short_name", value.def.short_name);
|
||||||
REFLECT_MEMBER2("detailed_name", value.def.detailed_name);
|
REFLECT_MEMBER2("detailed_name", value.def.detailed_name);
|
||||||
|
REFLECT_MEMBER2("is_constructor", value.is_constructor);
|
||||||
REFLECT_MEMBER2("parameter_type_descriptions", value.parameter_type_descriptions);
|
REFLECT_MEMBER2("parameter_type_descriptions", value.parameter_type_descriptions);
|
||||||
REFLECT_MEMBER2("declarations", value.declarations);
|
REFLECT_MEMBER2("declarations", value.declarations);
|
||||||
REFLECT_MEMBER2("definition_spelling", value.def.definition_spelling);
|
REFLECT_MEMBER2("definition_spelling", value.def.definition_spelling);
|
||||||
|
@ -27,6 +27,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@Foo#",
|
"usr": "c:@S@Foo@F@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"detailed_name": "void Foo::Foo()",
|
"detailed_name": "void Foo::Foo()",
|
||||||
|
"is_constructor": true,
|
||||||
"definition_spelling": "3:3-3:6",
|
"definition_spelling": "3:3-3:6",
|
||||||
"definition_extent": "3:3-3:11",
|
"definition_extent": "3:3-3:11",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
@ -36,6 +37,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "6:6-6:9",
|
"definition_spelling": "6:6-6:9",
|
||||||
"definition_extent": "6:1-9:2",
|
"definition_extent": "6:1-9:2",
|
||||||
"callees": ["~0@7:7-7:8", "0@8:17-8:20"]
|
"callees": ["~0@7:7-7:8", "0@8:17-8:20"]
|
||||||
|
@ -32,6 +32,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@Foo#",
|
"usr": "c:@S@Foo@F@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"detailed_name": "void Foo::Foo()",
|
"detailed_name": "void Foo::Foo()",
|
||||||
|
"is_constructor": true,
|
||||||
"definition_spelling": "3:3-3:6",
|
"definition_spelling": "3:3-3:6",
|
||||||
"definition_extent": "3:3-3:11",
|
"definition_extent": "3:3-3:11",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
@ -41,6 +42,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@~Foo#",
|
"usr": "c:@S@Foo@F@~Foo#",
|
||||||
"short_name": "~Foo",
|
"short_name": "~Foo",
|
||||||
"detailed_name": "void Foo::~Foo() noexcept",
|
"detailed_name": "void Foo::~Foo() noexcept",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "4:3-4:7",
|
"definition_spelling": "4:3-4:7",
|
||||||
"definition_extent": "4:3-4:12",
|
"definition_extent": "4:3-4:12",
|
||||||
"declaring_type": 0
|
"declaring_type": 0
|
||||||
@ -49,6 +51,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "7:6-7:9",
|
"definition_spelling": "7:6-7:9",
|
||||||
"definition_extent": "7:1-9:2",
|
"definition_extent": "7:1-9:2",
|
||||||
"callees": ["~0@8:7-8:8"]
|
"callees": ["~0@8:7-8:8"]
|
||||||
|
@ -26,6 +26,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Type@F@Type#",
|
"usr": "c:@S@Type@F@Type#",
|
||||||
"short_name": "Type",
|
"short_name": "Type",
|
||||||
"detailed_name": "void Type::Type()",
|
"detailed_name": "void Type::Type()",
|
||||||
|
"is_constructor": true,
|
||||||
"definition_spelling": "2:3-2:7",
|
"definition_spelling": "2:3-2:7",
|
||||||
"definition_extent": "2:3-2:12",
|
"definition_extent": "2:3-2:12",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
@ -35,6 +36,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@Make#",
|
"usr": "c:@F@Make#",
|
||||||
"short_name": "Make",
|
"short_name": "Make",
|
||||||
"detailed_name": "void Make()",
|
"detailed_name": "void Make()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:6-5:10",
|
"definition_spelling": "5:6-5:10",
|
||||||
"definition_extent": "5:1-8:2",
|
"definition_extent": "5:1-8:2",
|
||||||
"callees": ["~0@6:8-6:11"]
|
"callees": ["~0@6:8-6:11"]
|
||||||
|
@ -21,6 +21,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@FT@>1#TFoo#v#",
|
"usr": "c:@S@Foo@FT@>1#TFoo#v#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"detailed_name": "void Foo::Foo()",
|
"detailed_name": "void Foo::Foo()",
|
||||||
|
"is_constructor": true,
|
||||||
"definition_spelling": "4:6-4:9",
|
"definition_spelling": "4:6-4:9",
|
||||||
"definition_extent": "4:1-4:11",
|
"definition_extent": "4:1-4:11",
|
||||||
"declaring_type": 0
|
"declaring_type": 0
|
||||||
|
157
tests/constructors/make_functions.cc
Normal file
157
tests/constructors/make_functions.cc
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
template <typename T, typename... Args>
|
||||||
|
T* MakeUnique(Args&&... args) {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
template <typename T, typename... Args>
|
||||||
|
T* maKE_NoRefs(Args... args) {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
struct Bar {};
|
||||||
|
class Foobar {
|
||||||
|
public:
|
||||||
|
Foobar() {}
|
||||||
|
Foobar(int) {}
|
||||||
|
Foobar(int&&, Bar*, bool*) {}
|
||||||
|
Foobar(int, Bar*, bool*) {}
|
||||||
|
};
|
||||||
|
void caller22() {
|
||||||
|
MakeUnique<Foobar>();
|
||||||
|
MakeUnique<Foobar>(1);
|
||||||
|
MakeUnique<Foobar>(1, new Bar(), nullptr);
|
||||||
|
maKE_NoRefs<Foobar>(1, new Bar(), nullptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: Eliminate the extra entries in the "types" array here. They come from
|
||||||
|
// the template function definitions.
|
||||||
|
|
||||||
|
/*
|
||||||
|
OUTPUT:
|
||||||
|
{
|
||||||
|
"types": [{
|
||||||
|
"id": 0,
|
||||||
|
"usr": "c:make_functions.cc@10",
|
||||||
|
"uses": ["2:1-2:2"]
|
||||||
|
}, {
|
||||||
|
"id": 1,
|
||||||
|
"usr": "c:make_functions.cc@22",
|
||||||
|
"uses": ["2:15-2:19"]
|
||||||
|
}, {
|
||||||
|
"id": 2,
|
||||||
|
"usr": "c:make_functions.cc@108",
|
||||||
|
"uses": ["7:1-7:2"]
|
||||||
|
}, {
|
||||||
|
"id": 3,
|
||||||
|
"usr": "c:make_functions.cc@120",
|
||||||
|
"uses": ["7:16-7:20"]
|
||||||
|
}, {
|
||||||
|
"id": 4,
|
||||||
|
"usr": "c:@S@Bar",
|
||||||
|
"short_name": "Bar",
|
||||||
|
"detailed_name": "Bar",
|
||||||
|
"definition_spelling": "11:8-11:11",
|
||||||
|
"definition_extent": "11:1-11:14",
|
||||||
|
"uses": ["11:8-11:11", "16:17-16:20", "17:15-17:18", "22:29-22:32", "23:30-23:33"]
|
||||||
|
}, {
|
||||||
|
"id": 5,
|
||||||
|
"usr": "c:@S@Foobar",
|
||||||
|
"short_name": "Foobar",
|
||||||
|
"detailed_name": "Foobar",
|
||||||
|
"definition_spelling": "12:7-12:13",
|
||||||
|
"definition_extent": "12:1-18:2",
|
||||||
|
"funcs": [2, 3, 4, 5],
|
||||||
|
"uses": ["12:7-12:13", "14:3-14:9", "15:3-15:9", "16:3-16:9", "17:3-17:9", "20:14-20:20", "21:14-21:20", "22:14-22:20", "23:15-23:21"]
|
||||||
|
}],
|
||||||
|
"funcs": [{
|
||||||
|
"id": 0,
|
||||||
|
"usr": "c:@FT@>2#T#pTMakeUnique#P&&t0.1#*t0.0#",
|
||||||
|
"short_name": "MakeUnique",
|
||||||
|
"detailed_name": "T *MakeUnique(Args &&...)",
|
||||||
|
"is_constructor": false,
|
||||||
|
"parameter_type_descriptions": ["Args &&..."],
|
||||||
|
"definition_spelling": "2:4-2:14",
|
||||||
|
"definition_extent": "2:1-4:2",
|
||||||
|
"callers": ["6@20:3-20:13", "6@21:3-21:13", "6@22:3-22:13"]
|
||||||
|
}, {
|
||||||
|
"id": 1,
|
||||||
|
"usr": "c:@FT@>2#T#pTmaKE_NoRefs#Pt0.1#*t0.0#",
|
||||||
|
"short_name": "maKE_NoRefs",
|
||||||
|
"detailed_name": "T *maKE_NoRefs(Args...)",
|
||||||
|
"is_constructor": false,
|
||||||
|
"parameter_type_descriptions": ["Args..."],
|
||||||
|
"definition_spelling": "7:4-7:15",
|
||||||
|
"definition_extent": "7:1-9:2",
|
||||||
|
"callers": ["6@23:3-23:14"]
|
||||||
|
}, {
|
||||||
|
"id": 2,
|
||||||
|
"usr": "c:@S@Foobar@F@Foobar#",
|
||||||
|
"short_name": "Foobar",
|
||||||
|
"detailed_name": "void Foobar::Foobar()",
|
||||||
|
"is_constructor": true,
|
||||||
|
"definition_spelling": "14:3-14:9",
|
||||||
|
"definition_extent": "14:3-14:14",
|
||||||
|
"declaring_type": 5
|
||||||
|
}, {
|
||||||
|
"id": 3,
|
||||||
|
"usr": "c:@S@Foobar@F@Foobar#I#",
|
||||||
|
"short_name": "Foobar",
|
||||||
|
"detailed_name": "void Foobar::Foobar(int)",
|
||||||
|
"is_constructor": true,
|
||||||
|
"parameter_type_descriptions": ["int"],
|
||||||
|
"definition_spelling": "15:3-15:9",
|
||||||
|
"definition_extent": "15:3-15:17",
|
||||||
|
"declaring_type": 5
|
||||||
|
}, {
|
||||||
|
"id": 4,
|
||||||
|
"usr": "c:@S@Foobar@F@Foobar#&&I#*$@S@Bar#*b#",
|
||||||
|
"short_name": "Foobar",
|
||||||
|
"detailed_name": "void Foobar::Foobar(int &&, Bar *, bool *)",
|
||||||
|
"is_constructor": true,
|
||||||
|
"parameter_type_descriptions": ["int &&", "Bar *", "bool *"],
|
||||||
|
"definition_spelling": "16:3-16:9",
|
||||||
|
"definition_extent": "16:3-16:32",
|
||||||
|
"declaring_type": 5
|
||||||
|
}, {
|
||||||
|
"id": 5,
|
||||||
|
"usr": "c:@S@Foobar@F@Foobar#I#*$@S@Bar#*b#",
|
||||||
|
"short_name": "Foobar",
|
||||||
|
"detailed_name": "void Foobar::Foobar(int, Bar *, bool *)",
|
||||||
|
"is_constructor": true,
|
||||||
|
"parameter_type_descriptions": ["int", "Bar *", "bool *"],
|
||||||
|
"definition_spelling": "17:3-17:9",
|
||||||
|
"definition_extent": "17:3-17:30",
|
||||||
|
"declaring_type": 5
|
||||||
|
}, {
|
||||||
|
"id": 6,
|
||||||
|
"usr": "c:@F@caller22#",
|
||||||
|
"short_name": "caller22",
|
||||||
|
"detailed_name": "void caller22()",
|
||||||
|
"is_constructor": false,
|
||||||
|
"definition_spelling": "19:6-19:14",
|
||||||
|
"definition_extent": "19:1-24:2",
|
||||||
|
"callees": ["0@20:3-20:13", "0@21:3-21:13", "0@22:3-22:13", "1@23:3-23:14"]
|
||||||
|
}],
|
||||||
|
"vars": [{
|
||||||
|
"id": 0,
|
||||||
|
"usr": "c:make_functions.cc@55@FT@>2#T#pTMakeUnique#P&&t0.1#*t0.0#@args",
|
||||||
|
"short_name": "args",
|
||||||
|
"detailed_name": "Args &&... args",
|
||||||
|
"definition_spelling": "2:25-2:29",
|
||||||
|
"definition_extent": "2:15-2:29",
|
||||||
|
"is_local": true,
|
||||||
|
"is_macro": false,
|
||||||
|
"uses": ["2:25-2:29"]
|
||||||
|
}, {
|
||||||
|
"id": 1,
|
||||||
|
"usr": "c:make_functions.cc@154@FT@>2#T#pTmaKE_NoRefs#Pt0.1#*t0.0#@args",
|
||||||
|
"short_name": "args",
|
||||||
|
"detailed_name": "Args... args",
|
||||||
|
"definition_spelling": "7:24-7:28",
|
||||||
|
"definition_extent": "7:16-7:28",
|
||||||
|
"is_local": true,
|
||||||
|
"is_macro": false,
|
||||||
|
"uses": ["7:24-7:28"]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
*/
|
@ -12,6 +12,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "1:6-1:9",
|
"spelling": "1:6-1:9",
|
||||||
"extent": "1:1-1:11",
|
"extent": "1:1-1:11",
|
||||||
|
@ -12,6 +12,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#I#",
|
"usr": "c:@F@foo#I#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "int foo(int, int)",
|
"detailed_name": "int foo(int, int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int", "int"],
|
"parameter_type_descriptions": ["int", "int"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "1:5-1:8",
|
"spelling": "1:5-1:8",
|
||||||
|
@ -24,6 +24,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@declonly#",
|
"usr": "c:@S@Foo@F@declonly#",
|
||||||
"short_name": "declonly",
|
"short_name": "declonly",
|
||||||
"detailed_name": "void Foo::declonly()",
|
"detailed_name": "void Foo::declonly()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:8-2:16",
|
"spelling": "2:8-2:16",
|
||||||
"extent": "2:3-2:18",
|
"extent": "2:3-2:18",
|
||||||
@ -35,6 +36,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@purevirtual#",
|
"usr": "c:@S@Foo@F@purevirtual#",
|
||||||
"short_name": "purevirtual",
|
"short_name": "purevirtual",
|
||||||
"detailed_name": "void Foo::purevirtual()",
|
"detailed_name": "void Foo::purevirtual()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "3:16-3:27",
|
"spelling": "3:16-3:27",
|
||||||
"extent": "3:3-3:33",
|
"extent": "3:3-3:33",
|
||||||
@ -46,6 +48,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@def#",
|
"usr": "c:@S@Foo@F@def#",
|
||||||
"short_name": "def",
|
"short_name": "def",
|
||||||
"detailed_name": "void Foo::def()",
|
"detailed_name": "void Foo::def()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "4:8-4:11",
|
"spelling": "4:8-4:11",
|
||||||
"extent": "4:3-4:13",
|
"extent": "4:3-4:13",
|
||||||
|
@ -8,6 +8,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#I#",
|
"usr": "c:@F@foo#I#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(int, int)",
|
"detailed_name": "void foo(int, int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int", "int"],
|
"parameter_type_descriptions": ["int", "int"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "1:6-1:9",
|
"spelling": "1:6-1:9",
|
||||||
|
@ -10,6 +10,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "1:6-1:9",
|
"spelling": "1:6-1:9",
|
||||||
"extent": "1:1-1:11",
|
"extent": "1:1-1:11",
|
||||||
|
@ -8,6 +8,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "1:6-1:9",
|
"definition_spelling": "1:6-1:9",
|
||||||
"definition_extent": "1:1-1:14"
|
"definition_extent": "1:1-1:14"
|
||||||
}]
|
}]
|
||||||
|
@ -34,6 +34,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Root@F@foo#",
|
"usr": "c:@S@Root@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void Root::foo()",
|
"detailed_name": "void Root::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:16-2:19",
|
"spelling": "2:16-2:19",
|
||||||
"extent": "2:3-2:21",
|
"extent": "2:3-2:21",
|
||||||
@ -46,6 +47,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Derived@F@foo#",
|
"usr": "c:@S@Derived@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void Derived::foo()",
|
"detailed_name": "void Derived::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:8-5:11",
|
"definition_spelling": "5:8-5:11",
|
||||||
"definition_extent": "5:3-5:25",
|
"definition_extent": "5:3-5:25",
|
||||||
"declaring_type": 1,
|
"declaring_type": 1,
|
||||||
|
@ -20,6 +20,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@IFoo@F@foo#",
|
"usr": "c:@S@IFoo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void IFoo::foo()",
|
"detailed_name": "void IFoo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "2:16-2:19",
|
"definition_spelling": "2:16-2:19",
|
||||||
"definition_extent": "2:3-2:28",
|
"definition_extent": "2:3-2:28",
|
||||||
"declaring_type": 0
|
"declaring_type": 0
|
||||||
|
@ -19,6 +19,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@make1#",
|
"usr": "c:@F@make1#",
|
||||||
"short_name": "make1",
|
"short_name": "make1",
|
||||||
"detailed_name": "int make1()",
|
"detailed_name": "int make1()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "6:5-6:10",
|
"definition_spelling": "6:5-6:10",
|
||||||
"definition_extent": "6:1-8:2",
|
"definition_extent": "6:1-8:2",
|
||||||
"callers": ["1@12:5-12:10"]
|
"callers": ["1@12:5-12:10"]
|
||||||
@ -27,6 +28,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@a#",
|
"usr": "c:@F@a#",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"detailed_name": "int a()",
|
"detailed_name": "int a()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "12:1-12:20",
|
"spelling": "12:1-12:20",
|
||||||
"extent": "12:1-12:20",
|
"extent": "12:1-12:20",
|
||||||
|
@ -25,6 +25,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@Foo#&&$@S@Foo#",
|
"usr": "c:@S@Foo@F@Foo#&&$@S@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"detailed_name": "void Foo::Foo(Foo &&)",
|
"detailed_name": "void Foo::Foo(Foo &&)",
|
||||||
|
"is_constructor": true,
|
||||||
"parameter_type_descriptions": ["Foo &&"],
|
"parameter_type_descriptions": ["Foo &&"],
|
||||||
"definition_spelling": "5:12-5:15",
|
"definition_spelling": "5:12-5:15",
|
||||||
"definition_extent": "5:12-5:16",
|
"definition_extent": "5:12-5:16",
|
||||||
|
@ -24,6 +24,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void Foo::foo()",
|
"detailed_name": "void Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:8-2:11",
|
"spelling": "2:8-2:11",
|
||||||
"extent": "2:3-2:13",
|
"extent": "2:3-2:13",
|
||||||
|
@ -22,6 +22,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@foo#1",
|
"usr": "c:@S@Foo@F@foo#1",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void Foo::foo() const",
|
"detailed_name": "void Foo::foo() const",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:8-2:11",
|
"spelling": "2:8-2:11",
|
||||||
"extent": "2:3-2:19",
|
"extent": "2:3-2:19",
|
||||||
|
@ -20,6 +20,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void Foo::foo()",
|
"detailed_name": "void Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "2:8-2:11",
|
"definition_spelling": "2:8-2:11",
|
||||||
"definition_extent": "2:3-2:16",
|
"definition_extent": "2:3-2:16",
|
||||||
"declaring_type": 0
|
"declaring_type": 0
|
||||||
|
@ -58,6 +58,7 @@ OUTPUT: header.h
|
|||||||
"usr": "c:@FT@>1#TFoo1#v#",
|
"usr": "c:@FT@>1#TFoo1#v#",
|
||||||
"short_name": "Foo1",
|
"short_name": "Foo1",
|
||||||
"detailed_name": "void Foo1()",
|
"detailed_name": "void Foo1()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "10:6-10:10",
|
"definition_spelling": "10:6-10:10",
|
||||||
"definition_extent": "10:1-10:15"
|
"definition_extent": "10:1-10:15"
|
||||||
}],
|
}],
|
||||||
@ -131,12 +132,14 @@ OUTPUT: impl.cc
|
|||||||
"usr": "c:@F@Impl#",
|
"usr": "c:@F@Impl#",
|
||||||
"short_name": "Impl",
|
"short_name": "Impl",
|
||||||
"detailed_name": "void Impl()",
|
"detailed_name": "void Impl()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:6-3:10",
|
"definition_spelling": "3:6-3:10",
|
||||||
"definition_extent": "3:1-5:2",
|
"definition_extent": "3:1-5:2",
|
||||||
"callees": ["1@4:3-4:7"]
|
"callees": ["1@4:3-4:7"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@FT@>1#TFoo1#v#",
|
"usr": "c:@FT@>1#TFoo1#v#",
|
||||||
|
"is_constructor": false,
|
||||||
"callers": ["0@4:3-4:7"]
|
"callers": ["0@4:3-4:7"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ OUTPUT: simple_header.h
|
|||||||
"usr": "c:@F@header#",
|
"usr": "c:@F@header#",
|
||||||
"short_name": "header",
|
"short_name": "header",
|
||||||
"detailed_name": "void header()",
|
"detailed_name": "void header()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "3:6-3:12",
|
"spelling": "3:6-3:12",
|
||||||
"extent": "3:1-3:14",
|
"extent": "3:1-3:14",
|
||||||
@ -32,12 +33,14 @@ OUTPUT: simple_impl.cc
|
|||||||
"usr": "c:@F@impl#",
|
"usr": "c:@F@impl#",
|
||||||
"short_name": "impl",
|
"short_name": "impl",
|
||||||
"detailed_name": "void impl()",
|
"detailed_name": "void impl()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:6-3:10",
|
"definition_spelling": "3:6-3:10",
|
||||||
"definition_extent": "3:1-5:2",
|
"definition_extent": "3:1-5:2",
|
||||||
"callees": ["1@4:3-4:9"]
|
"callees": ["1@4:3-4:9"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@header#",
|
"usr": "c:@F@header#",
|
||||||
|
"is_constructor": false,
|
||||||
"callers": ["0@4:3-4:9"]
|
"callers": ["0@4:3-4:9"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,7 @@ OUTPUT: static.h
|
|||||||
"usr": "c:@S@Buffer@F@CreateSharedBuffer#S",
|
"usr": "c:@S@Buffer@F@CreateSharedBuffer#S",
|
||||||
"short_name": "CreateSharedBuffer",
|
"short_name": "CreateSharedBuffer",
|
||||||
"detailed_name": "void Buffer::CreateSharedBuffer()",
|
"detailed_name": "void Buffer::CreateSharedBuffer()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "4:15-4:33",
|
"spelling": "4:15-4:33",
|
||||||
"extent": "4:3-4:35",
|
"extent": "4:3-4:35",
|
||||||
@ -47,6 +48,7 @@ OUTPUT: static.cc
|
|||||||
"usr": "c:@S@Buffer@F@CreateSharedBuffer#S",
|
"usr": "c:@S@Buffer@F@CreateSharedBuffer#S",
|
||||||
"short_name": "CreateSharedBuffer",
|
"short_name": "CreateSharedBuffer",
|
||||||
"detailed_name": "void Buffer::CreateSharedBuffer()",
|
"detailed_name": "void Buffer::CreateSharedBuffer()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:14-3:32",
|
"definition_spelling": "3:14-3:32",
|
||||||
"definition_extent": "3:1-3:37",
|
"definition_extent": "3:1-3:37",
|
||||||
"declaring_type": 0
|
"declaring_type": 0
|
||||||
|
@ -10,6 +10,7 @@ OUTPUT:
|
|||||||
"usr": "c:anonymous_function.cc@aN@F@foo#",
|
"usr": "c:anonymous_function.cc@aN@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void ::foo()",
|
"detailed_name": "void ::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:6-2:9",
|
"spelling": "2:6-2:9",
|
||||||
"extent": "2:1-2:11",
|
"extent": "2:1-2:11",
|
||||||
|
@ -10,6 +10,7 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@F@foo#I#I#",
|
"usr": "c:@N@hello@F@foo#I#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void hello::foo(int, int)",
|
"detailed_name": "void hello::foo(int, int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int", "int"],
|
"parameter_type_descriptions": ["int", "int"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:6-2:9",
|
"spelling": "2:6-2:9",
|
||||||
|
@ -10,6 +10,7 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@F@foo#",
|
"usr": "c:@N@hello@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void hello::foo()",
|
"detailed_name": "void hello::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "2:6-2:9",
|
"definition_spelling": "2:6-2:9",
|
||||||
"definition_extent": "2:1-2:14"
|
"definition_extent": "2:1-2:14"
|
||||||
}]
|
}]
|
||||||
|
@ -22,6 +22,7 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@S@Foo@F@foo#",
|
"usr": "c:@N@hello@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void hello::Foo::foo()",
|
"detailed_name": "void hello::Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "3:8-3:11",
|
"spelling": "3:8-3:11",
|
||||||
"extent": "3:3-3:13",
|
"extent": "3:3-3:13",
|
||||||
|
@ -24,6 +24,7 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@S@Foo@F@foo#",
|
"usr": "c:@N@hello@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void hello::Foo::foo()",
|
"detailed_name": "void hello::Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "3:8-3:11",
|
"spelling": "3:8-3:11",
|
||||||
"extent": "3:3-3:13",
|
"extent": "3:3-3:13",
|
||||||
|
@ -22,6 +22,7 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@S@Foo@F@foo#",
|
"usr": "c:@N@hello@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void hello::Foo::foo()",
|
"detailed_name": "void hello::Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:8-3:11",
|
"definition_spelling": "3:8-3:11",
|
||||||
"definition_extent": "3:3-3:16",
|
"definition_extent": "3:3-3:16",
|
||||||
"declaring_type": 0
|
"declaring_type": 0
|
||||||
|
@ -21,6 +21,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "11:6-11:9",
|
"definition_spelling": "11:6-11:9",
|
||||||
"definition_extent": "11:1-14:2"
|
"definition_extent": "11:1-14:2"
|
||||||
}],
|
}],
|
||||||
|
@ -17,6 +17,7 @@ OUTPUT:
|
|||||||
"usr": "c:@N@ns@F@Accept#I#",
|
"usr": "c:@N@ns@F@Accept#I#",
|
||||||
"short_name": "Accept",
|
"short_name": "Accept",
|
||||||
"detailed_name": "void ns::Accept(int)",
|
"detailed_name": "void ns::Accept(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"definition_spelling": "3:8-3:14",
|
"definition_spelling": "3:8-3:14",
|
||||||
"definition_extent": "3:3-3:24",
|
"definition_extent": "3:3-3:24",
|
||||||
@ -26,6 +27,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@Runner#",
|
"usr": "c:@F@Runner#",
|
||||||
"short_name": "Runner",
|
"short_name": "Runner",
|
||||||
"detailed_name": "void Runner()",
|
"detailed_name": "void Runner()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "6:6-6:12",
|
"definition_spelling": "6:6-6:12",
|
||||||
"definition_extent": "6:1-10:2",
|
"definition_extent": "6:1-10:2",
|
||||||
"callees": ["0@7:7-7:13", "0@9:3-9:9"]
|
"callees": ["0@7:7-7:13", "0@9:3-9:9"]
|
||||||
|
@ -47,6 +47,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@LoadCompilationEntriesFromDirectory#&1$@N@std@S@basic_string>#C#$@N@std@S@char_traits>#C#$@N@std@S@allocator>#C#",
|
"usr": "c:@F@LoadCompilationEntriesFromDirectory#&1$@N@std@S@basic_string>#C#$@N@std@S@char_traits>#C#$@N@std@S@allocator>#C#",
|
||||||
"short_name": "LoadCompilationEntriesFromDirectory",
|
"short_name": "LoadCompilationEntriesFromDirectory",
|
||||||
"detailed_name": "std::vector<CompilationEntry> LoadCompilationEntriesFromDirectory(const std::string &)",
|
"detailed_name": "std::vector<CompilationEntry> LoadCompilationEntriesFromDirectory(const std::string &)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["const std::string &"],
|
"parameter_type_descriptions": ["const std::string &"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "12:31-12:66",
|
"spelling": "12:31-12:66",
|
||||||
|
85
tests/outline/static_function_in_type.cc
Normal file
85
tests/outline/static_function_in_type.cc
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
#include "static_function_in_type.h"
|
||||||
|
|
||||||
|
namespace ns {
|
||||||
|
// static
|
||||||
|
void Foo::Register(Manager* m) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
OUTPUT: static_function_in_type.h
|
||||||
|
{
|
||||||
|
"dependencies": ["C:/Users/jacob/Desktop/cquery/tests/outline/static_function_in_type.cc"],
|
||||||
|
"types": [{
|
||||||
|
"id": 0,
|
||||||
|
"usr": "c:@N@ns@S@Manager",
|
||||||
|
"uses": ["3:7-3:14", "6:24-6:31"]
|
||||||
|
}, {
|
||||||
|
"id": 1,
|
||||||
|
"usr": "c:@N@ns@S@Foo",
|
||||||
|
"short_name": "Foo",
|
||||||
|
"detailed_name": "ns::Foo",
|
||||||
|
"definition_spelling": "5:8-5:11",
|
||||||
|
"definition_extent": "5:1-7:2",
|
||||||
|
"funcs": [0],
|
||||||
|
"uses": ["5:8-5:11"]
|
||||||
|
}],
|
||||||
|
"funcs": [{
|
||||||
|
"id": 0,
|
||||||
|
"usr": "c:@N@ns@S@Foo@F@Register#*$@N@ns@S@Manager#S",
|
||||||
|
"short_name": "Register",
|
||||||
|
"detailed_name": "void ns::Foo::Register(ns::Manager *)",
|
||||||
|
"is_constructor": false,
|
||||||
|
"parameter_type_descriptions": ["ns::Manager *"],
|
||||||
|
"declarations": [{
|
||||||
|
"spelling": "6:15-6:23",
|
||||||
|
"extent": "6:3-6:33",
|
||||||
|
"content": "static void Register(Manager*)",
|
||||||
|
"param_spellings": ["6:32-6:32"]
|
||||||
|
}],
|
||||||
|
"declaring_type": 1
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
OUTPUT: static_function_in_type.cc
|
||||||
|
{
|
||||||
|
"includes": [{
|
||||||
|
"line": 1,
|
||||||
|
"resolved_path": "C:/Users/jacob/Desktop/cquery/tests/outline/static_function_in_type.h"
|
||||||
|
}],
|
||||||
|
"dependencies": ["C:/Users/jacob/Desktop/cquery/tests/outline/static_function_in_type.h"],
|
||||||
|
"types": [{
|
||||||
|
"id": 0,
|
||||||
|
"usr": "c:@N@ns@S@Foo",
|
||||||
|
"funcs": [0],
|
||||||
|
"uses": ["5:6-5:9"]
|
||||||
|
}, {
|
||||||
|
"id": 1,
|
||||||
|
"usr": "c:@N@ns@S@Manager",
|
||||||
|
"instances": [0],
|
||||||
|
"uses": ["5:20-5:27"]
|
||||||
|
}],
|
||||||
|
"funcs": [{
|
||||||
|
"id": 0,
|
||||||
|
"usr": "c:@N@ns@S@Foo@F@Register#*$@N@ns@S@Manager#S",
|
||||||
|
"short_name": "Register",
|
||||||
|
"detailed_name": "void ns::Foo::Register(ns::Manager *)",
|
||||||
|
"is_constructor": false,
|
||||||
|
"parameter_type_descriptions": ["ns::Manager *"],
|
||||||
|
"definition_spelling": "5:11-5:19",
|
||||||
|
"definition_extent": "5:1-6:2",
|
||||||
|
"declaring_type": 0
|
||||||
|
}],
|
||||||
|
"vars": [{
|
||||||
|
"id": 0,
|
||||||
|
"usr": "c:static_function_in_type.cc@86@N@ns@S@Foo@F@Register#*$@N@ns@S@Manager#S@m",
|
||||||
|
"short_name": "m",
|
||||||
|
"detailed_name": "ns::Manager * m",
|
||||||
|
"definition_spelling": "5:29-5:30",
|
||||||
|
"definition_extent": "5:20-5:30",
|
||||||
|
"variable_type": 1,
|
||||||
|
"is_local": true,
|
||||||
|
"is_macro": false,
|
||||||
|
"uses": ["5:29-5:30"]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
*/
|
9
tests/outline/static_function_in_type.h
Normal file
9
tests/outline/static_function_in_type.h
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
namespace ns {
|
||||||
|
|
||||||
|
class Manager;
|
||||||
|
|
||||||
|
struct Foo {
|
||||||
|
static void Register(Manager*);
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace ns
|
@ -33,6 +33,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@Bar#&$@S@Template>#d#",
|
"usr": "c:@S@Foo@F@Bar#&$@S@Template>#d#",
|
||||||
"short_name": "Bar",
|
"short_name": "Bar",
|
||||||
"detailed_name": "void Foo::Bar(Template<double> &)",
|
"detailed_name": "void Foo::Bar(Template<double> &)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["Template<double> &"],
|
"parameter_type_descriptions": ["Template<double> &"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "5:8-5:11",
|
"spelling": "5:8-5:11",
|
||||||
|
@ -29,6 +29,7 @@ OUTPUT:
|
|||||||
"usr": "c:@N@ns@ST>1#T@Foo@FT@>1#Tfoo#I#S",
|
"usr": "c:@N@ns@ST>1#T@Foo@FT@>1#Tfoo#I#S",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "int ns::Foo::foo()",
|
"detailed_name": "int ns::Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:16-5:19",
|
"definition_spelling": "5:16-5:19",
|
||||||
"definition_extent": "5:5-7:6",
|
"definition_extent": "5:5-7:6",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
|
@ -30,6 +30,7 @@ OUTPUT:
|
|||||||
"usr": "c:@ST>1#T@Template@F@Foo#",
|
"usr": "c:@ST>1#T@Template@F@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"detailed_name": "void Template::Foo()",
|
"detailed_name": "void Template::Foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "3:8-3:11",
|
"spelling": "3:8-3:11",
|
||||||
"extent": "3:3-3:13",
|
"extent": "3:3-3:13",
|
||||||
|
@ -26,6 +26,7 @@ OUTPUT:
|
|||||||
"usr": "c:@ST>1#T@Foo@F@foo#S",
|
"usr": "c:@ST>1#T@Foo@F@foo#S",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "int Foo::foo()",
|
"detailed_name": "int Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:14-3:17",
|
"definition_spelling": "3:14-3:17",
|
||||||
"definition_extent": "3:3-5:4",
|
"definition_extent": "3:3-5:4",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
|
@ -27,6 +27,7 @@ OUTPUT:
|
|||||||
"usr": "c:@ST>1#T@Foo@FT@>1#Tfoo#I#S",
|
"usr": "c:@ST>1#T@Foo@FT@>1#Tfoo#I#S",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "int Foo::foo()",
|
"detailed_name": "int Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "4:14-4:17",
|
"definition_spelling": "4:14-4:17",
|
||||||
"definition_extent": "4:3-6:4",
|
"definition_extent": "4:3-6:4",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
|
@ -17,6 +17,7 @@ OUTPUT:
|
|||||||
"usr": "c:template_func_usage_folded_into_one.cc@FT@>1#Tfoo#I#",
|
"usr": "c:template_func_usage_folded_into_one.cc@FT@>1#Tfoo#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "int foo()",
|
"detailed_name": "int foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "2:12-2:15",
|
"definition_spelling": "2:12-2:15",
|
||||||
"definition_extent": "2:1-4:2",
|
"definition_extent": "2:1-4:2",
|
||||||
"callers": ["-1@6:9-6:12", "-1@7:9-7:12"]
|
"callers": ["-1@6:9-6:12", "-1@7:9-7:12"]
|
||||||
|
@ -30,6 +30,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@act#*$@U@Foo#",
|
"usr": "c:@F@act#*$@U@Foo#",
|
||||||
"short_name": "act",
|
"short_name": "act",
|
||||||
"detailed_name": "void act(Foo *)",
|
"detailed_name": "void act(Foo *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["Foo *"],
|
"parameter_type_descriptions": ["Foo *"],
|
||||||
"definition_spelling": "8:6-8:9",
|
"definition_spelling": "8:6-8:9",
|
||||||
"definition_extent": "8:1-10:2"
|
"definition_extent": "8:1-10:2"
|
||||||
|
@ -26,6 +26,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"detailed_name": "void called()",
|
"detailed_name": "void called()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "1:6-1:12",
|
"definition_spelling": "1:6-1:12",
|
||||||
"definition_extent": "1:1-1:17",
|
"definition_extent": "1:1-1:17",
|
||||||
"callers": ["1@8:3-8:9"]
|
"callers": ["1@8:3-8:9"]
|
||||||
@ -34,6 +35,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@Foo#",
|
"usr": "c:@S@Foo@F@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"detailed_name": "void Foo::Foo()",
|
"detailed_name": "void Foo::Foo()",
|
||||||
|
"is_constructor": true,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "4:3-4:6",
|
"spelling": "4:3-4:6",
|
||||||
"extent": "4:3-4:8",
|
"extent": "4:3-4:8",
|
||||||
|
@ -14,6 +14,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#b#b#",
|
"usr": "c:@F@called#b#b#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"detailed_name": "bool called(bool, bool)",
|
"detailed_name": "bool called(bool, bool)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["bool", "bool"],
|
"parameter_type_descriptions": ["bool", "bool"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "3:6-3:12",
|
"spelling": "3:6-3:12",
|
||||||
@ -27,6 +28,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@caller#",
|
"usr": "c:@F@caller#",
|
||||||
"short_name": "caller",
|
"short_name": "caller",
|
||||||
"detailed_name": "void caller()",
|
"detailed_name": "void caller()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:6-5:12",
|
"definition_spelling": "5:6-5:12",
|
||||||
"definition_extent": "5:1-7:2",
|
"definition_extent": "5:1-7:2",
|
||||||
"callees": ["0@6:14-6:20"]
|
"callees": ["0@6:14-6:20"]
|
||||||
|
@ -19,6 +19,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"detailed_name": "void called()",
|
"detailed_name": "void called()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "1:6-1:12",
|
"spelling": "1:6-1:12",
|
||||||
"extent": "1:1-1:14",
|
"extent": "1:1-1:14",
|
||||||
@ -30,6 +31,7 @@ OUTPUT:
|
|||||||
"usr": "c:@FT@>1#Tcaller#v#",
|
"usr": "c:@FT@>1#Tcaller#v#",
|
||||||
"short_name": "caller",
|
"short_name": "caller",
|
||||||
"detailed_name": "void caller()",
|
"detailed_name": "void caller()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "4:6-4:12",
|
"definition_spelling": "4:6-4:12",
|
||||||
"definition_extent": "4:1-6:2",
|
"definition_extent": "4:1-6:2",
|
||||||
"callers": ["2@9:3-9:9"],
|
"callers": ["2@9:3-9:9"],
|
||||||
@ -39,6 +41,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "8:6-8:9",
|
"definition_spelling": "8:6-8:9",
|
||||||
"definition_extent": "8:1-10:2",
|
"definition_extent": "8:1-10:2",
|
||||||
"callees": ["1@9:3-9:9"]
|
"callees": ["1@9:3-9:9"]
|
||||||
|
@ -26,6 +26,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Wrapper@F@Wrapper#I#",
|
"usr": "c:@S@Wrapper@F@Wrapper#I#",
|
||||||
"short_name": "Wrapper",
|
"short_name": "Wrapper",
|
||||||
"detailed_name": "void Wrapper::Wrapper(int)",
|
"detailed_name": "void Wrapper::Wrapper(int)",
|
||||||
|
"is_constructor": true,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:3-2:10",
|
"spelling": "2:3-2:10",
|
||||||
@ -40,6 +41,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"detailed_name": "int called()",
|
"detailed_name": "int called()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:5-5:11",
|
"definition_spelling": "5:5-5:11",
|
||||||
"definition_extent": "5:1-5:27",
|
"definition_extent": "5:1-5:27",
|
||||||
"callers": ["2@8:10-8:16"]
|
"callers": ["2@8:10-8:16"]
|
||||||
@ -48,6 +50,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@caller#",
|
"usr": "c:@F@caller#",
|
||||||
"short_name": "caller",
|
"short_name": "caller",
|
||||||
"detailed_name": "Wrapper caller()",
|
"detailed_name": "Wrapper caller()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "7:9-7:15",
|
"definition_spelling": "7:9-7:15",
|
||||||
"definition_extent": "7:1-9:2",
|
"definition_extent": "7:1-9:2",
|
||||||
"callees": ["~0@8:10-8:16", "1@8:10-8:16"]
|
"callees": ["~0@8:10-8:16", "1@8:10-8:16"]
|
||||||
|
@ -15,6 +15,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@consume#*v#",
|
"usr": "c:@F@consume#*v#",
|
||||||
"short_name": "consume",
|
"short_name": "consume",
|
||||||
"detailed_name": "void consume(void *)",
|
"detailed_name": "void consume(void *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["void *"],
|
"parameter_type_descriptions": ["void *"],
|
||||||
"definition_spelling": "1:6-1:13",
|
"definition_spelling": "1:6-1:13",
|
||||||
"definition_extent": "1:1-1:23",
|
"definition_extent": "1:1-1:23",
|
||||||
@ -24,6 +25,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@used#",
|
"usr": "c:@F@used#",
|
||||||
"short_name": "used",
|
"short_name": "used",
|
||||||
"detailed_name": "void used()",
|
"detailed_name": "void used()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:6-3:10",
|
"definition_spelling": "3:6-3:10",
|
||||||
"definition_extent": "3:1-3:15",
|
"definition_extent": "3:1-3:15",
|
||||||
"callers": ["2@6:13-6:17", "2@7:12-7:16"]
|
"callers": ["2@6:13-6:17", "2@7:12-7:16"]
|
||||||
@ -32,6 +34,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@user#",
|
"usr": "c:@F@user#",
|
||||||
"short_name": "user",
|
"short_name": "user",
|
||||||
"detailed_name": "void user()",
|
"detailed_name": "void user()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:6-5:10",
|
"definition_spelling": "5:6-5:10",
|
||||||
"definition_extent": "5:1-8:2",
|
"definition_extent": "5:1-8:2",
|
||||||
"callees": ["1@6:13-6:17", "0@7:3-7:10", "1@7:12-7:16"]
|
"callees": ["1@6:13-6:17", "0@7:3-7:10", "1@7:12-7:16"]
|
||||||
|
@ -25,6 +25,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@Used#",
|
"usr": "c:@S@Foo@F@Used#",
|
||||||
"short_name": "Used",
|
"short_name": "Used",
|
||||||
"detailed_name": "void Foo::Used()",
|
"detailed_name": "void Foo::Used()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:8-2:12",
|
"spelling": "2:8-2:12",
|
||||||
"extent": "2:3-2:14",
|
"extent": "2:3-2:14",
|
||||||
@ -37,6 +38,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@user#",
|
"usr": "c:@F@user#",
|
||||||
"short_name": "user",
|
"short_name": "user",
|
||||||
"detailed_name": "void user()",
|
"detailed_name": "void user()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:6-5:10",
|
"definition_spelling": "5:6-5:10",
|
||||||
"definition_extent": "5:1-7:2",
|
"definition_extent": "5:1-7:2",
|
||||||
"callees": ["0@6:18-6:22"]
|
"callees": ["0@6:18-6:22"]
|
||||||
|
@ -11,6 +11,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"detailed_name": "void called()",
|
"detailed_name": "void called()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "1:6-1:12",
|
"definition_spelling": "1:6-1:12",
|
||||||
"definition_extent": "1:1-1:17",
|
"definition_extent": "1:1-1:17",
|
||||||
"callers": ["1@3:3-3:9"]
|
"callers": ["1@3:3-3:9"]
|
||||||
@ -19,6 +20,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@caller#",
|
"usr": "c:@F@caller#",
|
||||||
"short_name": "caller",
|
"short_name": "caller",
|
||||||
"detailed_name": "void caller()",
|
"detailed_name": "void caller()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "2:6-2:12",
|
"definition_spelling": "2:6-2:12",
|
||||||
"definition_extent": "2:1-4:2",
|
"definition_extent": "2:1-4:2",
|
||||||
"callees": ["0@3:3-3:9"]
|
"callees": ["0@3:3-3:9"]
|
||||||
|
@ -26,6 +26,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@Used#",
|
"usr": "c:@S@Foo@F@Used#",
|
||||||
"short_name": "Used",
|
"short_name": "Used",
|
||||||
"detailed_name": "void Foo::Used()",
|
"detailed_name": "void Foo::Used()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:8-2:12",
|
"spelling": "2:8-2:12",
|
||||||
"extent": "2:3-2:14",
|
"extent": "2:3-2:14",
|
||||||
@ -38,6 +39,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@user#",
|
"usr": "c:@F@user#",
|
||||||
"short_name": "user",
|
"short_name": "user",
|
||||||
"detailed_name": "void user()",
|
"detailed_name": "void user()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:6-5:10",
|
"definition_spelling": "5:6-5:10",
|
||||||
"definition_extent": "5:1-8:2",
|
"definition_extent": "5:1-8:2",
|
||||||
"callees": ["0@7:6-7:10"]
|
"callees": ["0@7:6-7:10"]
|
||||||
|
@ -24,6 +24,7 @@ OUTPUT:
|
|||||||
"usr": "c:func_usage_class_inline_var_def.cc@F@helper#",
|
"usr": "c:func_usage_class_inline_var_def.cc@F@helper#",
|
||||||
"short_name": "helper",
|
"short_name": "helper",
|
||||||
"detailed_name": "int helper()",
|
"detailed_name": "int helper()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "1:12-1:18",
|
"definition_spelling": "1:12-1:18",
|
||||||
"definition_extent": "1:1-3:2",
|
"definition_extent": "1:1-3:2",
|
||||||
"callers": ["-1@6:11-6:17"]
|
"callers": ["-1@6:11-6:17"]
|
||||||
|
@ -11,6 +11,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "1:6-1:9",
|
"spelling": "1:6-1:9",
|
||||||
"extent": "1:1-1:11",
|
"extent": "1:1-1:11",
|
||||||
@ -22,6 +23,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@usage#",
|
"usr": "c:@F@usage#",
|
||||||
"short_name": "usage",
|
"short_name": "usage",
|
||||||
"detailed_name": "void usage()",
|
"detailed_name": "void usage()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:6-3:11",
|
"definition_spelling": "3:6-3:11",
|
||||||
"definition_extent": "3:1-5:2",
|
"definition_extent": "3:1-5:2",
|
||||||
"callees": ["0@4:3-4:6"]
|
"callees": ["0@4:3-4:6"]
|
||||||
|
@ -25,6 +25,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void Foo::foo()",
|
"detailed_name": "void Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:8-2:11",
|
"spelling": "2:8-2:11",
|
||||||
"extent": "2:3-2:13",
|
"extent": "2:3-2:13",
|
||||||
@ -37,6 +38,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@usage#",
|
"usr": "c:@F@usage#",
|
||||||
"short_name": "usage",
|
"short_name": "usage",
|
||||||
"detailed_name": "void usage()",
|
"detailed_name": "void usage()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:6-5:11",
|
"definition_spelling": "5:6-5:11",
|
||||||
"definition_extent": "5:1-8:2",
|
"definition_extent": "5:1-8:2",
|
||||||
"callees": ["0@7:6-7:9"]
|
"callees": ["0@7:6-7:9"]
|
||||||
|
@ -14,6 +14,7 @@ OUTPUT:
|
|||||||
"usr": "c:@FT@>1#Taccept#t0.0#v#",
|
"usr": "c:@FT@>1#Taccept#t0.0#v#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"detailed_name": "void accept(T)",
|
"detailed_name": "void accept(T)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["T"],
|
"parameter_type_descriptions": ["T"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:6-2:12",
|
"spelling": "2:6-2:12",
|
||||||
@ -27,6 +28,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "4:6-4:9",
|
"definition_spelling": "4:6-4:9",
|
||||||
"definition_extent": "4:1-7:2",
|
"definition_extent": "4:1-7:2",
|
||||||
"callees": ["0@5:3-5:9", "0@6:3-6:9"]
|
"callees": ["0@5:3-5:9", "0@6:3-6:9"]
|
||||||
|
@ -32,6 +32,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@return_type#",
|
"usr": "c:@F@return_type#",
|
||||||
"short_name": "return_type",
|
"short_name": "return_type",
|
||||||
"detailed_name": "unique_ptr<S> *return_type()",
|
"detailed_name": "unique_ptr<S> *return_type()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "9:16-9:27",
|
"definition_spelling": "9:16-9:27",
|
||||||
"definition_extent": "9:1-12:2"
|
"definition_extent": "9:1-12:2"
|
||||||
}],
|
}],
|
||||||
|
@ -110,6 +110,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@as_return_type#*$@S@unique_ptr>#$@S@S1#$@S@S2#",
|
"usr": "c:@F@as_return_type#*$@S@unique_ptr>#$@S@S1#$@S@S2#",
|
||||||
"short_name": "as_return_type",
|
"short_name": "as_return_type",
|
||||||
"detailed_name": "unique_ptr<unique_ptr<S1, S2>, S2> *as_return_type(unique_ptr<S1, S2> *)",
|
"detailed_name": "unique_ptr<unique_ptr<S1, S2>, S2> *as_return_type(unique_ptr<S1, S2> *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["unique_ptr<S1, S2> *"],
|
"parameter_type_descriptions": ["unique_ptr<S1, S2> *"],
|
||||||
"definition_spelling": "33:37-33:51",
|
"definition_spelling": "33:37-33:51",
|
||||||
"definition_extent": "33:1-33:92"
|
"definition_extent": "33:1-33:92"
|
||||||
@ -118,6 +119,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@no_return_type#I#",
|
"usr": "c:@F@no_return_type#I#",
|
||||||
"short_name": "no_return_type",
|
"short_name": "no_return_type",
|
||||||
"detailed_name": "void no_return_type(int)",
|
"detailed_name": "void no_return_type(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"definition_spelling": "40:6-40:20",
|
"definition_spelling": "40:6-40:20",
|
||||||
"definition_extent": "40:1-40:28"
|
"definition_extent": "40:1-40:28"
|
||||||
@ -126,6 +128,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@empty#",
|
"usr": "c:@F@empty#",
|
||||||
"short_name": "empty",
|
"short_name": "empty",
|
||||||
"detailed_name": "void empty()",
|
"detailed_name": "void empty()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "53:6-53:11",
|
"definition_spelling": "53:6-53:11",
|
||||||
"definition_extent": "53:1-55:2"
|
"definition_extent": "53:1-55:2"
|
||||||
}, {
|
}, {
|
||||||
@ -133,6 +136,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "unique_ptr<S1, S2> *Foo::foo()",
|
"detailed_name": "unique_ptr<S1, S2> *Foo::foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "65:23-65:26",
|
"spelling": "65:23-65:26",
|
||||||
"extent": "65:3-65:28",
|
"extent": "65:3-65:28",
|
||||||
|
@ -29,6 +29,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@Foo#",
|
"usr": "c:@F@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"detailed_name": "void Foo()",
|
"detailed_name": "void Foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "4:6-4:9",
|
"definition_spelling": "4:6-4:9",
|
||||||
"definition_extent": "4:1-7:2"
|
"definition_extent": "4:1-7:2"
|
||||||
}],
|
}],
|
||||||
|
@ -26,6 +26,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#*$@S@ForwardType#$@S@ImplementedType#",
|
"usr": "c:@F@foo#*$@S@ForwardType#$@S@ImplementedType#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(ForwardType *, ImplementedType)",
|
"detailed_name": "void foo(ForwardType *, ImplementedType)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["ForwardType *", "ImplementedType"],
|
"parameter_type_descriptions": ["ForwardType *", "ImplementedType"],
|
||||||
"definition_spelling": "4:6-4:9",
|
"definition_spelling": "4:6-4:9",
|
||||||
"definition_extent": "4:1-4:47"
|
"definition_extent": "4:1-4:47"
|
||||||
|
@ -22,6 +22,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#*$@S@Foo#S0_#",
|
"usr": "c:@F@foo#*$@S@Foo#S0_#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(Foo *, Foo *)",
|
"detailed_name": "void foo(Foo *, Foo *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["Foo *", "Foo *"],
|
"parameter_type_descriptions": ["Foo *", "Foo *"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "3:6-3:9",
|
"spelling": "3:6-3:9",
|
||||||
|
@ -13,6 +13,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#*$@S@ForwardType#",
|
"usr": "c:@F@foo#*$@S@ForwardType#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(ForwardType *)",
|
"detailed_name": "void foo(ForwardType *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["ForwardType *"],
|
"parameter_type_descriptions": ["ForwardType *"],
|
||||||
"definition_spelling": "2:6-2:9",
|
"definition_spelling": "2:6-2:9",
|
||||||
"definition_extent": "2:1-2:26"
|
"definition_extent": "2:1-2:26"
|
||||||
|
@ -24,6 +24,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#&$@S@Type#&1S1_#",
|
"usr": "c:@F@foo#&$@S@Type#&1S1_#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(Type &, const Type &)",
|
"detailed_name": "void foo(Type &, const Type &)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["Type &", "const Type &"],
|
"parameter_type_descriptions": ["Type &", "const Type &"],
|
||||||
"definition_spelling": "3:6-3:9",
|
"definition_spelling": "3:6-3:9",
|
||||||
"definition_extent": "3:1-8:2"
|
"definition_extent": "3:1-8:2"
|
||||||
|
@ -39,6 +39,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "Type *foo()",
|
"detailed_name": "Type *foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "3:7-3:10",
|
"spelling": "3:7-3:10",
|
||||||
"extent": "3:1-3:12",
|
"extent": "3:1-3:12",
|
||||||
@ -55,6 +56,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@Get#I#",
|
"usr": "c:@S@Foo@F@Get#I#",
|
||||||
"short_name": "Get",
|
"short_name": "Get",
|
||||||
"detailed_name": "Type *Foo::Get(int)",
|
"detailed_name": "Type *Foo::Get(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "8:9-8:12",
|
"spelling": "8:9-8:12",
|
||||||
@ -70,6 +72,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@Empty#",
|
"usr": "c:@S@Foo@F@Empty#",
|
||||||
"short_name": "Empty",
|
"short_name": "Empty",
|
||||||
"detailed_name": "void Foo::Empty()",
|
"detailed_name": "void Foo::Empty()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "9:8-9:13",
|
"spelling": "9:8-9:13",
|
||||||
"extent": "9:3-9:15",
|
"extent": "9:3-9:15",
|
||||||
@ -83,6 +86,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@external#",
|
"usr": "c:@F@external#",
|
||||||
"short_name": "external",
|
"short_name": "external",
|
||||||
"detailed_name": "const Type &external()",
|
"detailed_name": "const Type &external()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "15:20-15:28",
|
"spelling": "15:20-15:28",
|
||||||
"extent": "15:1-15:30",
|
"extent": "15:1-15:30",
|
||||||
@ -93,6 +97,7 @@ OUTPUT:
|
|||||||
"usr": "c:type_usage_on_return_type.cc@F@bar#",
|
"usr": "c:type_usage_on_return_type.cc@F@bar#",
|
||||||
"short_name": "bar",
|
"short_name": "bar",
|
||||||
"detailed_name": "Type *bar()",
|
"detailed_name": "Type *bar()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "17:14-17:17",
|
"spelling": "17:14-17:17",
|
||||||
"extent": "17:1-17:19",
|
"extent": "17:1-17:19",
|
||||||
|
@ -57,6 +57,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@accept#*$@S@Foo#",
|
"usr": "c:@F@accept#*$@S@Foo#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"detailed_name": "void accept(Foo *)",
|
"detailed_name": "void accept(Foo *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["Foo *"],
|
"parameter_type_descriptions": ["Foo *"],
|
||||||
"definition_spelling": "7:6-7:12",
|
"definition_spelling": "7:6-7:12",
|
||||||
"definition_extent": "7:1-7:21"
|
"definition_extent": "7:1-7:21"
|
||||||
@ -65,6 +66,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@accept1#**$@S@Foo#",
|
"usr": "c:@F@accept1#**$@S@Foo#",
|
||||||
"short_name": "accept1",
|
"short_name": "accept1",
|
||||||
"detailed_name": "void accept1(Foo1 *)",
|
"detailed_name": "void accept1(Foo1 *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["Foo1 *"],
|
"parameter_type_descriptions": ["Foo1 *"],
|
||||||
"definition_spelling": "8:6-8:13",
|
"definition_spelling": "8:6-8:13",
|
||||||
"definition_extent": "8:1-8:23"
|
"definition_extent": "8:1-8:23"
|
||||||
@ -73,6 +75,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@accept2#*$@S@Foo#",
|
"usr": "c:@F@accept2#*$@S@Foo#",
|
||||||
"short_name": "accept2",
|
"short_name": "accept2",
|
||||||
"detailed_name": "void accept2(Foo2 *)",
|
"detailed_name": "void accept2(Foo2 *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["Foo2 *"],
|
"parameter_type_descriptions": ["Foo2 *"],
|
||||||
"definition_spelling": "9:6-9:13",
|
"definition_spelling": "9:6-9:13",
|
||||||
"definition_extent": "9:1-9:23"
|
"definition_extent": "9:1-9:23"
|
||||||
@ -81,6 +84,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@accept3#**$@S@Foo#",
|
"usr": "c:@F@accept3#**$@S@Foo#",
|
||||||
"short_name": "accept3",
|
"short_name": "accept3",
|
||||||
"detailed_name": "void accept3(Foo3 *)",
|
"detailed_name": "void accept3(Foo3 *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["Foo3 *"],
|
"parameter_type_descriptions": ["Foo3 *"],
|
||||||
"definition_spelling": "10:6-10:13",
|
"definition_spelling": "10:6-10:13",
|
||||||
"definition_extent": "10:1-10:23"
|
"definition_extent": "10:1-10:23"
|
||||||
|
@ -28,6 +28,7 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@F@make#",
|
"usr": "c:@S@Foo@F@make#",
|
||||||
"short_name": "make",
|
"short_name": "make",
|
||||||
"detailed_name": "Foo *Foo::make()",
|
"detailed_name": "Foo *Foo::make()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "2:8-2:12",
|
"spelling": "2:8-2:12",
|
||||||
"extent": "2:3-2:14",
|
"extent": "2:3-2:14",
|
||||||
|
@ -32,6 +32,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#I#",
|
"usr": "c:@F@called#I#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"detailed_name": "void called(int)",
|
"detailed_name": "void called(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "1:6-1:12",
|
"spelling": "1:6-1:12",
|
||||||
@ -45,6 +46,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@gen#",
|
"usr": "c:@F@gen#",
|
||||||
"short_name": "gen",
|
"short_name": "gen",
|
||||||
"detailed_name": "int gen()",
|
"detailed_name": "int gen()",
|
||||||
|
"is_constructor": false,
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "3:5-3:8",
|
"spelling": "3:5-3:8",
|
||||||
"extent": "3:1-3:10",
|
"extent": "3:1-3:10",
|
||||||
@ -56,6 +58,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "12:6-12:9",
|
"definition_spelling": "12:6-12:9",
|
||||||
"definition_extent": "12:1-15:2",
|
"definition_extent": "12:1-15:2",
|
||||||
"callees": ["0@14:3-14:9", "1@14:14-14:17"]
|
"callees": ["0@14:3-14:9", "1@14:14-14:17"]
|
||||||
|
@ -14,6 +14,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#I#",
|
"usr": "c:@F@called#I#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"detailed_name": "void called(int)",
|
"detailed_name": "void called(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "1:6-1:12",
|
"spelling": "1:6-1:12",
|
||||||
@ -27,6 +28,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@gen#",
|
"usr": "c:@F@gen#",
|
||||||
"short_name": "gen",
|
"short_name": "gen",
|
||||||
"detailed_name": "int gen()",
|
"detailed_name": "int gen()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:5-3:8",
|
"definition_spelling": "3:5-3:8",
|
||||||
"definition_extent": "3:1-3:24",
|
"definition_extent": "3:1-3:24",
|
||||||
"callers": ["2@6:10-6:13", "2@6:18-6:21"]
|
"callers": ["2@6:10-6:13", "2@6:18-6:21"]
|
||||||
@ -35,6 +37,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "5:6-5:9",
|
"definition_spelling": "5:6-5:9",
|
||||||
"definition_extent": "5:1-7:2",
|
"definition_extent": "5:1-7:2",
|
||||||
"callees": ["0@6:3-6:9", "1@6:10-6:13", "1@6:18-6:21"]
|
"callees": ["0@6:3-6:9", "1@6:10-6:13", "1@6:18-6:21"]
|
||||||
|
@ -15,6 +15,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"detailed_name": "void called()",
|
"detailed_name": "void called()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "1:6-1:12",
|
"definition_spelling": "1:6-1:12",
|
||||||
"definition_extent": "1:1-1:17",
|
"definition_extent": "1:1-1:17",
|
||||||
"callers": ["1@4:13-4:19", "1@7:3-7:9"]
|
"callers": ["1@4:13-4:19", "1@7:3-7:9"]
|
||||||
@ -23,6 +24,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@caller#",
|
"usr": "c:@F@caller#",
|
||||||
"short_name": "caller",
|
"short_name": "caller",
|
||||||
"detailed_name": "void caller()",
|
"detailed_name": "void caller()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:6-3:12",
|
"definition_spelling": "3:6-3:12",
|
||||||
"definition_extent": "3:1-8:2",
|
"definition_extent": "3:1-8:2",
|
||||||
"callees": ["0@4:13-4:19", "0@7:3-7:9"]
|
"callees": ["0@4:13-4:19", "0@7:3-7:9"]
|
||||||
|
@ -36,6 +36,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@accept#I#",
|
"usr": "c:@F@accept#I#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"detailed_name": "void accept(int)",
|
"detailed_name": "void accept(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "7:6-7:12",
|
"spelling": "7:6-7:12",
|
||||||
@ -49,6 +50,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@accept#*I#",
|
"usr": "c:@F@accept#*I#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"detailed_name": "void accept(int *)",
|
"detailed_name": "void accept(int *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int *"],
|
"parameter_type_descriptions": ["int *"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "8:6-8:12",
|
"spelling": "8:6-8:12",
|
||||||
@ -62,6 +64,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "10:6-10:9",
|
"definition_spelling": "10:6-10:9",
|
||||||
"definition_extent": "10:1-18:2",
|
"definition_extent": "10:1-18:2",
|
||||||
"callees": ["0@14:3-14:9", "0@15:3-15:9", "1@16:3-16:9", "0@17:3-17:9"]
|
"callees": ["0@14:3-14:9", "0@15:3-15:9", "1@16:3-16:9", "0@17:3-17:9"]
|
||||||
|
@ -25,6 +25,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@accept#I#",
|
"usr": "c:@F@accept#I#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"detailed_name": "void accept(int)",
|
"detailed_name": "void accept(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"declarations": [{
|
"declarations": [{
|
||||||
"spelling": "5:6-5:12",
|
"spelling": "5:6-5:12",
|
||||||
@ -38,6 +39,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "7:6-7:9",
|
"definition_spelling": "7:6-7:9",
|
||||||
"definition_extent": "7:1-9:2",
|
"definition_extent": "7:1-9:2",
|
||||||
"callees": ["0@8:3-8:9"]
|
"callees": ["0@8:3-8:9"]
|
||||||
|
@ -11,6 +11,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:6-3:9",
|
"definition_spelling": "3:6-3:9",
|
||||||
"definition_extent": "3:1-5:2"
|
"definition_extent": "3:1-5:2"
|
||||||
}],
|
}],
|
||||||
|
@ -9,6 +9,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#",
|
"usr": "c:@F@foo#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(int)",
|
"detailed_name": "void foo(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"definition_spelling": "1:6-1:9",
|
"definition_spelling": "1:6-1:9",
|
||||||
"definition_extent": "1:1-3:2"
|
"definition_extent": "1:1-3:2"
|
||||||
|
@ -10,6 +10,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "1:6-1:9",
|
"definition_spelling": "1:6-1:9",
|
||||||
"definition_extent": "1:1-4:2"
|
"definition_extent": "1:1-4:2"
|
||||||
}],
|
}],
|
||||||
|
@ -15,6 +15,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "1:6-1:9",
|
"definition_spelling": "1:6-1:9",
|
||||||
"definition_extent": "1:1-9:2"
|
"definition_extent": "1:1-9:2"
|
||||||
}],
|
}],
|
||||||
|
@ -15,6 +15,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#",
|
"usr": "c:@F@foo#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(int)",
|
"detailed_name": "void foo(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"definition_spelling": "1:6-1:9",
|
"definition_spelling": "1:6-1:9",
|
||||||
"definition_extent": "1:1-8:2"
|
"definition_extent": "1:1-8:2"
|
||||||
|
@ -12,6 +12,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:6-3:9",
|
"definition_spelling": "3:6-3:9",
|
||||||
"definition_extent": "3:1-5:2"
|
"definition_extent": "3:1-5:2"
|
||||||
}],
|
}],
|
||||||
|
@ -22,6 +22,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@f#",
|
"usr": "c:@F@f#",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"detailed_name": "void f()",
|
"detailed_name": "void f()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "2:6-2:7",
|
"definition_spelling": "2:6-2:7",
|
||||||
"definition_extent": "2:1-5:2"
|
"definition_extent": "2:1-5:2"
|
||||||
}],
|
}],
|
||||||
|
@ -18,6 +18,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:6-3:9",
|
"definition_spelling": "3:6-3:9",
|
||||||
"definition_extent": "3:1-5:2"
|
"definition_extent": "3:1-5:2"
|
||||||
}],
|
}],
|
||||||
|
@ -16,6 +16,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#*$@S@Foo#S0_#",
|
"usr": "c:@F@foo#*$@S@Foo#S0_#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(Foo *, Foo *)",
|
"detailed_name": "void foo(Foo *, Foo *)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["Foo *", "Foo *"],
|
"parameter_type_descriptions": ["Foo *", "Foo *"],
|
||||||
"definition_spelling": "3:6-3:9",
|
"definition_spelling": "3:6-3:9",
|
||||||
"definition_extent": "3:1-3:30"
|
"definition_extent": "3:1-3:30"
|
||||||
|
@ -7,6 +7,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#I#",
|
"usr": "c:@F@foo#I#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(int, int)",
|
"detailed_name": "void foo(int, int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int", "int"],
|
"parameter_type_descriptions": ["int", "int"],
|
||||||
"definition_spelling": "1:6-1:9",
|
"definition_spelling": "1:6-1:9",
|
||||||
"definition_extent": "1:1-1:22"
|
"definition_extent": "1:1-1:22"
|
||||||
|
@ -15,6 +15,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo()",
|
"detailed_name": "void foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "1:6-1:9",
|
"definition_spelling": "1:6-1:9",
|
||||||
"definition_extent": "1:1-9:2"
|
"definition_extent": "1:1-9:2"
|
||||||
}],
|
}],
|
||||||
|
@ -9,6 +9,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#",
|
"usr": "c:@F@foo#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"detailed_name": "void foo(int)",
|
"detailed_name": "void foo(int)",
|
||||||
|
"is_constructor": false,
|
||||||
"parameter_type_descriptions": ["int"],
|
"parameter_type_descriptions": ["int"],
|
||||||
"definition_spelling": "1:6-1:9",
|
"definition_spelling": "1:6-1:9",
|
||||||
"definition_extent": "1:1-3:2"
|
"definition_extent": "1:1-3:2"
|
||||||
|
@ -33,6 +33,7 @@ OUTPUT:
|
|||||||
"usr": "c:@F@Foo#",
|
"usr": "c:@F@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"detailed_name": "void Foo()",
|
"detailed_name": "void Foo()",
|
||||||
|
"is_constructor": false,
|
||||||
"definition_spelling": "3:6-3:9",
|
"definition_spelling": "3:6-3:9",
|
||||||
"definition_extent": "3:1-5:2"
|
"definition_extent": "3:1-5:2"
|
||||||
}],
|
}],
|
||||||
|
Loading…
Reference in New Issue
Block a user