Do not index is_constructor and parameter_type_descriptions.

This commit is contained in:
Jacob Dufault 2017-11-08 19:59:11 -08:00
parent 96894ae996
commit 9d376a47d5
81 changed files with 11 additions and 209 deletions

View File

@ -21,15 +21,6 @@ namespace {
const bool kIndexStdDeclarations = true; const bool kIndexStdDeclarations = true;
std::vector<std::string> BuildTypeDesc(clang::Cursor cursor) {
std::vector<std::string> type_desc;
for (clang::Cursor arg : cursor.get_arguments()) {
if (arg.get_kind() == CXCursor_ParmDecl)
type_desc.push_back(arg.get_type_description());
}
return type_desc;
}
void AddFuncRef(std::vector<IndexFuncRef>* result, IndexFuncRef ref) { void AddFuncRef(std::vector<IndexFuncRef>* result, IndexFuncRef ref) {
if (!result->empty() && (*result)[result->size() - 1] == ref) if (!result->empty() && (*result)[result->size() - 1] == ref)
return; return;
@ -106,16 +97,23 @@ struct NamespaceHelper {
struct ConstructorCache { struct ConstructorCache {
using Usr = std::string; using Usr = std::string;
struct Constructor { struct Constructor {
std::vector<std::string> param_type_desc;
Usr usr; Usr usr;
std::vector<std::string> param_type_desc;
}; };
std::unordered_map<Usr, std::vector<Constructor>> constructors_; std::unordered_map<Usr, std::vector<Constructor>> constructors_;
// This should be called whenever there is a constructor declaration. // This should be called whenever there is a constructor declaration.
void NotifyConstructor(clang::Cursor ctor_cursor) { void NotifyConstructor(clang::Cursor ctor_cursor) {
Constructor ctor; auto build_type_desc = [](clang::Cursor cursor) {
ctor.usr = ctor_cursor.get_usr(); std::vector<std::string> type_desc;
ctor.param_type_desc = BuildTypeDesc(ctor_cursor); for (clang::Cursor arg : cursor.get_arguments()) {
if (arg.get_kind() == CXCursor_ParmDecl)
type_desc.push_back(arg.get_type_description());
}
return type_desc;
};
Constructor ctor{ctor_cursor.get_usr(), build_type_desc(ctor_cursor)};
// Insert into |constructors_|. // Insert into |constructors_|.
std::string type_usr = ctor_cursor.get_semantic_parent().get_usr(); std::string type_usr = ctor_cursor.get_semantic_parent().get_usr();
@ -1124,17 +1122,6 @@ 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.
//
// note: If the function has no parameters, this block will be rerun
// every time we see the function. Performance should hopefully be fine
// but it may be a possible optimization.
if (func->parameter_type_descriptions.empty())
func->parameter_type_descriptions = BuildTypeDesc(decl_cursor);
// Add definition or declaration. This is a bit tricky because we treat // Add definition or declaration. This is a bit tricky because we treat
// template specializations as declarations, even though they are // template specializations as declarations, even though they are
// technically definitions. // technically definitions.

View File

@ -329,14 +329,6 @@ 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
// 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
// is forward-declared.
std::vector<std::string> parameter_type_descriptions;
// Places the function is forward-declared. // Places the function is forward-declared.
std::vector<Declaration> declarations; std::vector<Declaration> declarations;

View File

@ -86,8 +86,6 @@ 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("declarations", value.declarations); REFLECT_MEMBER2("declarations", value.declarations);
REFLECT_MEMBER2("definition_spelling", value.def.definition_spelling); REFLECT_MEMBER2("definition_spelling", value.def.definition_spelling);
REFLECT_MEMBER2("definition_extent", value.def.definition_extent); REFLECT_MEMBER2("definition_extent", value.def.definition_extent);

View File

@ -27,7 +27,6 @@ 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,
@ -37,7 +36,6 @@ 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"]

View File

@ -32,7 +32,6 @@ 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,
@ -42,7 +41,6 @@ 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
@ -51,7 +49,6 @@ 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"]

View File

@ -26,7 +26,6 @@ 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,
@ -36,7 +35,6 @@ 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"]

View File

@ -21,7 +21,6 @@ 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

View File

@ -50,7 +50,6 @@ OUTPUT: make_functions.h
"usr": "c:@S@Foobar@F@Foobar#", "usr": "c:@S@Foobar@F@Foobar#",
"short_name": "Foobar", "short_name": "Foobar",
"detailed_name": "void Foobar::Foobar()", "detailed_name": "void Foobar::Foobar()",
"is_constructor": true,
"definition_spelling": "5:3-5:9", "definition_spelling": "5:3-5:9",
"definition_extent": "5:3-5:14", "definition_extent": "5:3-5:14",
"declaring_type": 1 "declaring_type": 1
@ -59,8 +58,6 @@ OUTPUT: make_functions.h
"usr": "c:@S@Foobar@F@Foobar#I#", "usr": "c:@S@Foobar@F@Foobar#I#",
"short_name": "Foobar", "short_name": "Foobar",
"detailed_name": "void Foobar::Foobar(int)", "detailed_name": "void Foobar::Foobar(int)",
"is_constructor": true,
"parameter_type_descriptions": ["int"],
"definition_spelling": "6:3-6:9", "definition_spelling": "6:3-6:9",
"definition_extent": "6:3-6:17", "definition_extent": "6:3-6:17",
"declaring_type": 1 "declaring_type": 1
@ -69,8 +66,6 @@ OUTPUT: make_functions.h
"usr": "c:@S@Foobar@F@Foobar#&&I#*$@S@Bar#*b#", "usr": "c:@S@Foobar@F@Foobar#&&I#*$@S@Bar#*b#",
"short_name": "Foobar", "short_name": "Foobar",
"detailed_name": "void Foobar::Foobar(int &&, Bar *, bool *)", "detailed_name": "void Foobar::Foobar(int &&, Bar *, bool *)",
"is_constructor": true,
"parameter_type_descriptions": ["int &&", "Bar *", "bool *"],
"definition_spelling": "7:3-7:9", "definition_spelling": "7:3-7:9",
"definition_extent": "7:3-7:32", "definition_extent": "7:3-7:32",
"declaring_type": 1 "declaring_type": 1
@ -79,8 +74,6 @@ OUTPUT: make_functions.h
"usr": "c:@S@Foobar@F@Foobar#I#*$@S@Bar#*b#", "usr": "c:@S@Foobar@F@Foobar#I#*$@S@Bar#*b#",
"short_name": "Foobar", "short_name": "Foobar",
"detailed_name": "void Foobar::Foobar(int, Bar *, bool *)", "detailed_name": "void Foobar::Foobar(int, Bar *, bool *)",
"is_constructor": true,
"parameter_type_descriptions": ["int", "Bar *", "bool *"],
"definition_spelling": "8:3-8:9", "definition_spelling": "8:3-8:9",
"definition_extent": "8:3-8:30", "definition_extent": "8:3-8:30",
"declaring_type": 1 "declaring_type": 1
@ -123,8 +116,6 @@ OUTPUT: make_functions.cc
"usr": "c:@FT@>2#T#pTMakeUnique#P&&t0.1#*t0.0#", "usr": "c:@FT@>2#T#pTMakeUnique#P&&t0.1#*t0.0#",
"short_name": "MakeUnique", "short_name": "MakeUnique",
"detailed_name": "T *MakeUnique(Args &&...)", "detailed_name": "T *MakeUnique(Args &&...)",
"is_constructor": false,
"parameter_type_descriptions": ["Args &&..."],
"definition_spelling": "4:4-4:14", "definition_spelling": "4:4-4:14",
"definition_extent": "4:1-6:2", "definition_extent": "4:1-6:2",
"callers": ["2@14:3-14:13", "2@15:3-15:13", "2@16:3-16:13"] "callers": ["2@14:3-14:13", "2@15:3-15:13", "2@16:3-16:13"]
@ -133,8 +124,6 @@ OUTPUT: make_functions.cc
"usr": "c:@FT@>2#T#pTmaKE_NoRefs#Pt0.1#*t0.0#", "usr": "c:@FT@>2#T#pTmaKE_NoRefs#Pt0.1#*t0.0#",
"short_name": "maKE_NoRefs", "short_name": "maKE_NoRefs",
"detailed_name": "T *maKE_NoRefs(Args...)", "detailed_name": "T *maKE_NoRefs(Args...)",
"is_constructor": false,
"parameter_type_descriptions": ["Args..."],
"definition_spelling": "9:4-9:15", "definition_spelling": "9:4-9:15",
"definition_extent": "9:1-11:2", "definition_extent": "9:1-11:2",
"callers": ["2@17:3-17:14"] "callers": ["2@17:3-17:14"]
@ -143,29 +132,24 @@ OUTPUT: make_functions.cc
"usr": "c:@F@caller22#", "usr": "c:@F@caller22#",
"short_name": "caller22", "short_name": "caller22",
"detailed_name": "void caller22()", "detailed_name": "void caller22()",
"is_constructor": false,
"definition_spelling": "13:6-13:14", "definition_spelling": "13:6-13:14",
"definition_extent": "13:1-18:2", "definition_extent": "13:1-18:2",
"callees": ["0@14:3-14:13", "0@15:3-15:13", "0@16:3-16:13", "1@17:3-17:14"] "callees": ["0@14:3-14:13", "0@15:3-15:13", "0@16:3-16:13", "1@17:3-17:14"]
}, { }, {
"id": 3, "id": 3,
"usr": "c:@S@Foobar@F@Foobar#", "usr": "c:@S@Foobar@F@Foobar#",
"is_constructor": false,
"callers": ["~-1@14:3-14:13"] "callers": ["~-1@14:3-14:13"]
}, { }, {
"id": 4, "id": 4,
"usr": "c:@S@Foobar@F@Foobar#I#", "usr": "c:@S@Foobar@F@Foobar#I#",
"is_constructor": false,
"callers": ["~-1@15:3-15:13"] "callers": ["~-1@15:3-15:13"]
}, { }, {
"id": 5, "id": 5,
"usr": "c:@S@Foobar@F@Foobar#&&I#*$@S@Bar#*b#", "usr": "c:@S@Foobar@F@Foobar#&&I#*$@S@Bar#*b#",
"is_constructor": false,
"callers": ["~-1@16:3-16:13"] "callers": ["~-1@16:3-16:13"]
}, { }, {
"id": 6, "id": 6,
"usr": "c:@S@Foobar@F@Foobar#I#*$@S@Bar#*b#", "usr": "c:@S@Foobar@F@Foobar#I#*$@S@Bar#*b#",
"is_constructor": false,
"callers": ["~-1@17:3-17:14"] "callers": ["~-1@17:3-17:14"]
}], }],
"vars": [{ "vars": [{

View File

@ -12,7 +12,6 @@ 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",

View File

@ -12,8 +12,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "1:5-1:8", "spelling": "1:5-1:8",
"extent": "1:1-1:18", "extent": "1:1-1:18",

View File

@ -24,7 +24,6 @@ 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",
@ -36,7 +35,6 @@ 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",
@ -48,7 +46,6 @@ 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",

View File

@ -8,8 +8,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "1:6-1:9", "spelling": "1:6-1:9",
"extent": "1:1-1:23", "extent": "1:1-1:23",

View File

@ -10,7 +10,6 @@ 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",

View File

@ -8,7 +8,6 @@ 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"
}] }]

View File

@ -34,7 +34,6 @@ 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",
@ -47,7 +46,6 @@ 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,

View File

@ -20,7 +20,6 @@ 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

View File

@ -19,7 +19,6 @@ 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"]
@ -28,7 +27,6 @@ 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",

View File

@ -25,8 +25,6 @@ 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 &&"],
"definition_spelling": "5:12-5:15", "definition_spelling": "5:12-5:15",
"definition_extent": "5:12-5:16", "definition_extent": "5:12-5:16",
"declaring_type": 0 "declaring_type": 0

View File

@ -24,7 +24,6 @@ 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",

View File

@ -22,7 +22,6 @@ 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",

View File

@ -20,7 +20,6 @@ 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

View File

@ -58,7 +58,6 @@ 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"
}], }],
@ -132,14 +131,12 @@ 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"]
}] }]
} }

View File

@ -13,7 +13,6 @@ 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",
@ -33,14 +32,12 @@ 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"]
}] }]
} }

View File

@ -21,7 +21,6 @@ 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",
@ -48,7 +47,6 @@ 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

View File

@ -10,7 +10,6 @@ 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",

View File

@ -10,8 +10,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "2:6-2:9", "spelling": "2:6-2:9",
"extent": "2:1-2:23", "extent": "2:1-2:23",

View File

@ -10,7 +10,6 @@ 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"
}] }]

View File

@ -22,7 +22,6 @@ 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",

View File

@ -24,7 +24,6 @@ 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",

View File

@ -22,7 +22,6 @@ 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

View File

@ -21,7 +21,6 @@ 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"
}], }],

View File

@ -17,8 +17,6 @@ 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"],
"definition_spelling": "3:8-3:14", "definition_spelling": "3:8-3:14",
"definition_extent": "3:3-3:24", "definition_extent": "3:3-3:24",
"callers": ["1@7:7-7:13", "1@9:3-9:9"] "callers": ["1@7:7-7:13", "1@9:3-9:9"]
@ -27,7 +25,6 @@ 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"]

View File

@ -47,8 +47,6 @@ 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 &"],
"declarations": [{ "declarations": [{
"spelling": "12:31-12:66", "spelling": "12:31-12:66",
"extent": "12:1-12:104", "extent": "12:1-12:104",

View File

@ -29,8 +29,6 @@ OUTPUT: static_function_in_type.h
"usr": "c:@N@ns@S@Foo@F@Register#*$@N@ns@S@Manager#S", "usr": "c:@N@ns@S@Foo@F@Register#*$@N@ns@S@Manager#S",
"short_name": "Register", "short_name": "Register",
"detailed_name": "void ns::Foo::Register(ns::Manager *)", "detailed_name": "void ns::Foo::Register(ns::Manager *)",
"is_constructor": false,
"parameter_type_descriptions": ["ns::Manager *"],
"declarations": [{ "declarations": [{
"spelling": "6:15-6:23", "spelling": "6:15-6:23",
"extent": "6:3-6:33", "extent": "6:3-6:33",
@ -63,8 +61,6 @@ OUTPUT: static_function_in_type.cc
"usr": "c:@N@ns@S@Foo@F@Register#*$@N@ns@S@Manager#S", "usr": "c:@N@ns@S@Foo@F@Register#*$@N@ns@S@Manager#S",
"short_name": "Register", "short_name": "Register",
"detailed_name": "void ns::Foo::Register(ns::Manager *)", "detailed_name": "void ns::Foo::Register(ns::Manager *)",
"is_constructor": false,
"parameter_type_descriptions": ["ns::Manager *"],
"definition_spelling": "5:11-5:19", "definition_spelling": "5:11-5:19",
"definition_extent": "5:1-6:2", "definition_extent": "5:1-6:2",
"declaring_type": 0 "declaring_type": 0

View File

@ -33,8 +33,6 @@ 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> &"],
"declarations": [{ "declarations": [{
"spelling": "5:8-5:11", "spelling": "5:8-5:11",
"extent": "5:3-5:30", "extent": "5:3-5:30",

View File

@ -29,7 +29,6 @@ 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,

View File

@ -30,7 +30,6 @@ 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",

View File

@ -26,7 +26,6 @@ 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,

View File

@ -27,7 +27,6 @@ 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,

View File

@ -17,7 +17,6 @@ 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"]

View File

@ -30,8 +30,6 @@ 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 *"],
"definition_spelling": "8:6-8:9", "definition_spelling": "8:6-8:9",
"definition_extent": "8:1-10:2" "definition_extent": "8:1-10:2"
}], }],

View File

@ -26,7 +26,6 @@ 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"]
@ -35,7 +34,6 @@ 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",

View File

@ -14,8 +14,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "3:6-3:12", "spelling": "3:6-3:12",
"extent": "3:1-3:28", "extent": "3:1-3:28",
@ -28,7 +26,6 @@ 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"]

View File

@ -19,7 +19,6 @@ 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",
@ -31,7 +30,6 @@ 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"],
@ -41,7 +39,6 @@ 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"]

View File

@ -26,8 +26,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "2:3-2:10", "spelling": "2:3-2:10",
"extent": "2:3-2:17", "extent": "2:3-2:17",
@ -41,7 +39,6 @@ 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"]
@ -50,7 +47,6 @@ 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"]

View File

@ -15,8 +15,6 @@ 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 *"],
"definition_spelling": "1:6-1:13", "definition_spelling": "1:6-1:13",
"definition_extent": "1:1-1:23", "definition_extent": "1:1-1:23",
"callers": ["2@7:3-7:10"] "callers": ["2@7:3-7:10"]
@ -25,7 +23,6 @@ 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"]
@ -34,7 +31,6 @@ 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"]

View File

@ -25,7 +25,6 @@ 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,7 +37,6 @@ 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"]

View File

@ -11,7 +11,6 @@ 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"]
@ -20,7 +19,6 @@ 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"]

View File

@ -26,7 +26,6 @@ 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",
@ -39,7 +38,6 @@ 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"]

View File

@ -24,7 +24,6 @@ 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"]

View File

@ -11,7 +11,6 @@ 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",
@ -23,7 +22,6 @@ 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"]

View File

@ -25,7 +25,6 @@ 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",
@ -38,7 +37,6 @@ 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"]

View File

@ -14,8 +14,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "2:6-2:12", "spelling": "2:6-2:12",
"extent": "2:1-2:15", "extent": "2:1-2:15",
@ -28,7 +26,6 @@ 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"]

View File

@ -32,7 +32,6 @@ 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"
}], }],

View File

@ -110,8 +110,6 @@ 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> *"],
"definition_spelling": "33:37-33:51", "definition_spelling": "33:37-33:51",
"definition_extent": "33:1-33:92" "definition_extent": "33:1-33:92"
}, { }, {
@ -119,8 +117,6 @@ 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"],
"definition_spelling": "40:6-40:20", "definition_spelling": "40:6-40:20",
"definition_extent": "40:1-40:28" "definition_extent": "40:1-40:28"
}, { }, {
@ -128,7 +124,6 @@ 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"
}, { }, {
@ -136,7 +131,6 @@ 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",

View File

@ -29,7 +29,6 @@ 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"
}], }],

View File

@ -26,8 +26,6 @@ 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"],
"definition_spelling": "4:6-4:9", "definition_spelling": "4:6-4:9",
"definition_extent": "4:1-4:47" "definition_extent": "4:1-4:47"
}], }],

View File

@ -22,8 +22,6 @@ 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 *"],
"declarations": [{ "declarations": [{
"spelling": "3:6-3:9", "spelling": "3:6-3:9",
"extent": "3:1-3:23", "extent": "3:1-3:23",

View File

@ -13,8 +13,6 @@ 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 *"],
"definition_spelling": "2:6-2:9", "definition_spelling": "2:6-2:9",
"definition_extent": "2:1-2:26" "definition_extent": "2:1-2:26"
}] }]

View File

@ -24,8 +24,6 @@ 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 &"],
"definition_spelling": "3:6-3:9", "definition_spelling": "3:6-3:9",
"definition_extent": "3:1-8:2" "definition_extent": "3:1-8:2"
}], }],

View File

@ -39,7 +39,6 @@ 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",
@ -56,8 +55,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "8:9-8:12", "spelling": "8:9-8:12",
"extent": "8:3-8:17", "extent": "8:3-8:17",
@ -72,7 +69,6 @@ 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",
@ -86,7 +82,6 @@ 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",
@ -97,7 +92,6 @@ 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",

View File

@ -57,8 +57,6 @@ 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 *"],
"definition_spelling": "7:6-7:12", "definition_spelling": "7:6-7:12",
"definition_extent": "7:1-7:21" "definition_extent": "7:1-7:21"
}, { }, {
@ -66,8 +64,6 @@ 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 *"],
"definition_spelling": "8:6-8:13", "definition_spelling": "8:6-8:13",
"definition_extent": "8:1-8:23" "definition_extent": "8:1-8:23"
}, { }, {
@ -75,8 +71,6 @@ 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 *"],
"definition_spelling": "9:6-9:13", "definition_spelling": "9:6-9:13",
"definition_extent": "9:1-9:23" "definition_extent": "9:1-9:23"
}, { }, {
@ -84,8 +78,6 @@ 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 *"],
"definition_spelling": "10:6-10:13", "definition_spelling": "10:6-10:13",
"definition_extent": "10:1-10:23" "definition_extent": "10:1-10:23"
}] }]

View File

@ -28,7 +28,6 @@ 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",

View File

@ -32,8 +32,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "1:6-1:12", "spelling": "1:6-1:12",
"extent": "1:1-1:19", "extent": "1:1-1:19",
@ -46,7 +44,6 @@ 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",
@ -58,7 +55,6 @@ 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"]

View File

@ -14,8 +14,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "1:6-1:12", "spelling": "1:6-1:12",
"extent": "1:1-1:19", "extent": "1:1-1:19",
@ -28,7 +26,6 @@ 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"]
@ -37,7 +34,6 @@ 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"]

View File

@ -15,7 +15,6 @@ 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"]
@ -24,7 +23,6 @@ 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"]

View File

@ -36,8 +36,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "7:6-7:12", "spelling": "7:6-7:12",
"extent": "7:1-7:17", "extent": "7:1-7:17",
@ -50,8 +48,6 @@ 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 *"],
"declarations": [{ "declarations": [{
"spelling": "8:6-8:12", "spelling": "8:6-8:12",
"extent": "8:1-8:18", "extent": "8:1-8:18",
@ -64,7 +60,6 @@ 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"]

View File

@ -25,8 +25,6 @@ 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"],
"declarations": [{ "declarations": [{
"spelling": "5:6-5:12", "spelling": "5:6-5:12",
"extent": "5:1-5:17", "extent": "5:1-5:17",
@ -39,7 +37,6 @@ 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"]

View File

@ -11,7 +11,6 @@ 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"
}], }],

View File

@ -9,8 +9,6 @@ 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"],
"definition_spelling": "1:6-1:9", "definition_spelling": "1:6-1:9",
"definition_extent": "1:1-3:2" "definition_extent": "1:1-3:2"
}], }],

View File

@ -10,7 +10,6 @@ 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"
}], }],

View File

@ -15,7 +15,6 @@ 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"
}], }],

View File

@ -15,8 +15,6 @@ 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"],
"definition_spelling": "1:6-1:9", "definition_spelling": "1:6-1:9",
"definition_extent": "1:1-8:2" "definition_extent": "1:1-8:2"
}], }],

View File

@ -12,7 +12,6 @@ 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"
}], }],

View File

@ -22,7 +22,6 @@ 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"
}], }],

View File

@ -18,7 +18,6 @@ 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"
}], }],

View File

@ -16,8 +16,6 @@ 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 *"],
"definition_spelling": "3:6-3:9", "definition_spelling": "3:6-3:9",
"definition_extent": "3:1-3:30" "definition_extent": "3:1-3:30"
}], }],

View File

@ -7,8 +7,6 @@ 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"],
"definition_spelling": "1:6-1:9", "definition_spelling": "1:6-1:9",
"definition_extent": "1:1-1:22" "definition_extent": "1:1-1:22"
}] }]

View File

@ -15,7 +15,6 @@ 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"
}], }],

View File

@ -9,8 +9,6 @@ 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"],
"definition_spelling": "1:6-1:9", "definition_spelling": "1:6-1:9",
"definition_extent": "1:1-3:2" "definition_extent": "1:1-3:2"
}], }],

View File

@ -33,7 +33,6 @@ 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"
}], }],