Update tests for hover

This commit is contained in:
Jacob Dufault 2017-04-13 22:46:45 -07:00
parent 4f770befee
commit 20bf746ee9
95 changed files with 231 additions and 1 deletions

View File

@ -27,6 +27,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@Foo#",
"short_name": "Foo",
"qualified_name": "Foo::Foo",
"hover": "void ()",
"definition_spelling": "3:3-3:6",
"definition_extent": "3:3-3:11",
"declaring_type": 0,
@ -36,6 +37,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "6:6-6:9",
"definition_extent": "6:1-9:2",
"callees": ["0@7:7-7:8", "0@8:17-8:20"]
@ -45,6 +47,7 @@ OUTPUT:
"usr": "c:constructor.cc@56@F@foo#@f",
"short_name": "f",
"qualified_name": "f",
"hover": "Foo",
"definition_spelling": "7:7-7:8",
"definition_extent": "7:3-7:8",
"variable_type": 0,
@ -54,6 +57,7 @@ OUTPUT:
"usr": "c:constructor.cc@66@F@foo#@f2",
"short_name": "f2",
"qualified_name": "f2",
"hover": "Foo *",
"definition_spelling": "8:8-8:10",
"definition_extent": "8:3-8:22",
"variable_type": 0,

View File

@ -32,6 +32,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@Foo#",
"short_name": "Foo",
"qualified_name": "Foo::Foo",
"hover": "void ()",
"definition_spelling": "3:3-3:6",
"definition_extent": "3:3-3:11",
"declaring_type": 0,
@ -40,6 +41,7 @@ OUTPUT:
"id": 1,
"usr": "c:@S@Foo@F@~Foo#",
"short_name": "~Foo",
"hover": "void () noexcept",
"qualified_name": "Foo::~Foo",
"definition_spelling": "4:3-4:7",
"definition_extent": "4:3-4:12",
@ -49,6 +51,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "7:6-7:9",
"definition_extent": "7:1-9:2",
"callees": ["0@8:7-8:8"]
@ -58,6 +61,7 @@ OUTPUT:
"usr": "c:destructor.cc@70@F@foo#@f",
"short_name": "f",
"qualified_name": "f",
"hover": "Foo",
"definition_spelling": "8:7-8:8",
"definition_extent": "8:3-8:8",
"variable_type": 0,

View File

@ -21,6 +21,7 @@ OUTPUT:
"usr": "c:@S@Foo@FT@>1#TFoo#v#",
"short_name": "Foo",
"qualified_name": "Foo::Foo",
"hover": "void ()",
"definition_spelling": "4:6-4:9",
"definition_extent": "4:1-4:11",
"declaring_type": 0

View File

@ -20,6 +20,7 @@ OUTPUT:
"usr": "c:@S@Foo@FI@foo",
"short_name": "foo",
"qualified_name": "Foo::foo",
"hover": "int",
"definition_spelling": "2:7-2:10",
"definition_extent": "2:3-2:10",
"declaring_type": 0,

View File

@ -22,6 +22,7 @@ OUTPUT:
"usr": "c:@S@Foo@foo",
"short_name": "foo",
"qualified_name": "Foo::foo",
"hover": "int",
"declaration": "2:14-2:17",
"definition_spelling": "5:10-5:13",
"definition_extent": "5:1-5:13",

View File

@ -12,6 +12,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"declarations": ["1:6-1:9", "2:6-2:9", "4:6-4:9"],
"definition_spelling": "3:6-3:9",
"definition_extent": "3:1-3:14"

View File

@ -24,6 +24,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@declonly#",
"short_name": "declonly",
"qualified_name": "Foo::declonly",
"hover": "void ()",
"declarations": ["2:8-2:16"],
"declaring_type": 0
}, {
@ -31,6 +32,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@purevirtual#",
"short_name": "purevirtual",
"qualified_name": "Foo::purevirtual",
"hover": "void ()",
"declarations": ["3:16-3:27"],
"declaring_type": 0
}, {
@ -38,6 +40,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@def#",
"short_name": "def",
"qualified_name": "Foo::def",
"hover": "void ()",
"declarations": ["4:8-4:11"],
"definition_spelling": "7:11-7:14",
"definition_extent": "7:1-7:19",

View File

@ -21,6 +21,7 @@ OUTPUT:
"usr": "c:@E@Foo@A",
"short_name": "A",
"qualified_name": "Foo::A",
"hover": "Foo",
"definition_spelling": "2:3-2:4",
"definition_extent": "2:3-2:4",
"variable_type": 0,
@ -31,6 +32,7 @@ OUTPUT:
"usr": "c:@E@Foo@B",
"short_name": "B",
"qualified_name": "Foo::B",
"hover": "Foo",
"definition_spelling": "3:3-3:4",
"definition_extent": "3:3-3:9",
"variable_type": 0,

View File

@ -21,6 +21,7 @@ OUTPUT:
"usr": "c:@E@Foo@A",
"short_name": "A",
"qualified_name": "Foo::A",
"hover": "Foo",
"definition_spelling": "2:3-2:4",
"definition_extent": "2:3-2:4",
"variable_type": 0,
@ -31,6 +32,7 @@ OUTPUT:
"usr": "c:@E@Foo@B",
"short_name": "B",
"qualified_name": "Foo::B",
"hover": "Foo",
"definition_spelling": "3:3-3:4",
"definition_extent": "3:3-3:9",
"variable_type": 0,

View File

@ -21,6 +21,7 @@ OUTPUT:
"usr": "c:@E@Foo@A",
"short_name": "A",
"qualified_name": "Foo::A",
"hover": "Foo",
"definition_spelling": "2:3-2:4",
"definition_extent": "2:3-2:4",
"variable_type": 0,
@ -31,6 +32,7 @@ OUTPUT:
"usr": "c:@E@Foo@B",
"short_name": "B",
"qualified_name": "Foo::B",
"hover": "Foo",
"definition_spelling": "3:3-3:4",
"definition_extent": "3:3-3:9",
"variable_type": 0,

View File

@ -24,6 +24,7 @@ OUTPUT:
"usr": "c:@E@Foo@A",
"short_name": "A",
"qualified_name": "Foo::A",
"hover": "Foo",
"definition_spelling": "2:3-2:4",
"definition_extent": "2:3-2:4",
"variable_type": 0,
@ -34,6 +35,7 @@ OUTPUT:
"usr": "c:@E@Foo@B",
"short_name": "B",
"qualified_name": "Foo::B",
"hover": "Foo",
"definition_spelling": "3:3-3:4",
"definition_extent": "3:3-3:9",
"variable_type": 0,
@ -44,6 +46,7 @@ OUTPUT:
"usr": "c:@x",
"short_name": "x",
"qualified_name": "x",
"hover": "Foo",
"definition_spelling": "6:5-6:6",
"definition_extent": "6:1-6:15",
"variable_type": 0,

View File

@ -51,6 +51,7 @@ OUTPUT:
"usr": "c:@a",
"short_name": "a",
"qualified_name": "a",
"hover": "Foo<A>::Inner",
"definition_spelling": "9:15-9:16",
"definition_extent": "9:1-9:16",
"variable_type": 3,
@ -60,6 +61,7 @@ OUTPUT:
"usr": "c:@b",
"short_name": "b",
"qualified_name": "b",
"hover": "Foo<B>",
"definition_spelling": "10:8-10:9",
"definition_extent": "10:1-10:9",
"variable_type": 2,

View File

@ -8,6 +8,7 @@ OUTPUT:
"usr": "c:@F@foo#I#I#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (int, int)",
"declarations": ["1:6-1:9"]
}]
}

View File

@ -10,6 +10,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"declarations": ["1:6-1:9"],
"definition_spelling": "3:6-3:9",
"definition_extent": "3:1-3:14"

View File

@ -8,6 +8,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "1:6-1:9",
"definition_extent": "1:1-1:14"
}]

View File

@ -34,6 +34,7 @@ OUTPUT:
"usr": "c:@S@Root@F@foo#",
"short_name": "foo",
"qualified_name": "Root::foo",
"hover": "void ()",
"declarations": ["2:16-2:19"],
"declaring_type": 0,
"derived": [1]
@ -42,6 +43,7 @@ OUTPUT:
"usr": "c:@S@Derived@F@foo#",
"short_name": "foo",
"qualified_name": "Derived::foo",
"hover": "void ()",
"definition_spelling": "5:8-5:11",
"definition_extent": "5:3-5:25",
"declaring_type": 1,

View File

@ -20,6 +20,7 @@ OUTPUT:
"usr": "c:@S@IFoo@F@foo#",
"short_name": "foo",
"qualified_name": "IFoo::foo",
"hover": "void ()",
"definition_spelling": "2:16-2:19",
"definition_extent": "2:3-2:28",
"declaring_type": 0

View File

@ -24,6 +24,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@foo#",
"short_name": "foo",
"qualified_name": "Foo::foo",
"hover": "void ()",
"declarations": ["2:8-2:11"],
"declaring_type": 0
}]

View File

@ -22,6 +22,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@foo#",
"short_name": "foo",
"qualified_name": "Foo::foo",
"hover": "void ()",
"declarations": ["2:8-2:11"],
"definition_spelling": "5:11-5:14",
"definition_extent": "5:1-5:19",

View File

@ -20,6 +20,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@foo#",
"short_name": "foo",
"qualified_name": "Foo::foo",
"hover": "void ()",
"definition_spelling": "2:8-2:11",
"definition_extent": "2:3-2:16",
"declaring_type": 0

View File

@ -57,6 +57,7 @@ OUTPUT: header.h
"usr": "c:@FT@>1#TFoo1#v#",
"short_name": "Foo1",
"qualified_name": "Foo1",
"hover": "void ()",
"definition_spelling": "10:6-10:10",
"definition_extent": "10:1-10:15"
}],
@ -65,6 +66,7 @@ OUTPUT: header.h
"usr": "c:@E@Foo3@A",
"short_name": "A",
"qualified_name": "Foo3::A",
"hover": "Foo3",
"definition_spelling": "15:13-15:14",
"definition_extent": "15:13-15:14",
"variable_type": 4,
@ -75,6 +77,7 @@ OUTPUT: header.h
"usr": "c:@E@Foo3@B",
"short_name": "B",
"qualified_name": "Foo3::B",
"hover": "Foo3",
"definition_spelling": "15:16-15:17",
"definition_extent": "15:16-15:17",
"variable_type": 4,
@ -85,6 +88,7 @@ OUTPUT: header.h
"usr": "c:@E@Foo3@C",
"short_name": "C",
"qualified_name": "Foo3::C",
"hover": "Foo3",
"definition_spelling": "15:19-15:20",
"definition_extent": "15:19-15:20",
"variable_type": 4,
@ -95,6 +99,7 @@ OUTPUT: header.h
"usr": "c:@Foo4",
"short_name": "Foo4",
"qualified_name": "Foo4",
"hover": "int",
"definition_spelling": "17:5-17:9",
"definition_extent": "17:1-17:9",
"uses": ["17:5-17:9"]
@ -103,6 +108,7 @@ OUTPUT: header.h
"usr": "c:header.h@Foo5",
"short_name": "Foo5",
"qualified_name": "Foo5",
"hover": "int",
"definition_spelling": "18:12-18:16",
"definition_extent": "18:1-18:16",
"uses": ["18:12-18:16"]
@ -117,6 +123,7 @@ OUTPUT: impl.cc
"usr": "c:@F@Impl#",
"short_name": "Impl",
"qualified_name": "Impl",
"hover": "void ()",
"definition_spelling": "3:6-3:10",
"definition_extent": "3:1-5:2",
"callees": ["1@4:3-4:7"]

View File

@ -12,6 +12,7 @@ OUTPUT: simple_header.h
"usr": "c:@F@header#",
"short_name": "header",
"qualified_name": "header",
"hover": "void ()",
"declarations": ["3:6-3:12"]
}]
}
@ -24,6 +25,7 @@ OUTPUT: simple_impl.cc
"usr": "c:@F@impl#",
"short_name": "impl",
"qualified_name": "impl",
"hover": "void ()",
"definition_spelling": "3:6-3:10",
"definition_extent": "3:1-5:2",
"callees": ["1@4:3-4:9"]

View File

@ -20,6 +20,7 @@ OUTPUT: static.h
"usr": "c:@S@Buffer@F@CreateSharedBuffer#S",
"short_name": "CreateSharedBuffer",
"qualified_name": "Buffer::CreateSharedBuffer",
"hover": "void ()",
"declarations": ["4:15-4:33"],
"declaring_type": 0
}]
@ -39,6 +40,7 @@ OUTPUT: static.cc
"usr": "c:@S@Buffer@F@CreateSharedBuffer#S",
"short_name": "CreateSharedBuffer",
"qualified_name": "Buffer::CreateSharedBuffer",
"hover": "void ()",
"definition_spelling": "3:14-3:32",
"definition_extent": "3:1-3:37",
"declaring_type": 0

View File

@ -10,6 +10,7 @@ OUTPUT:
"usr": "c:anonymous_function.cc@aN@F@foo#",
"short_name": "foo",
"qualified_name": "::foo",
"hover": "void ()",
"declarations": ["2:6-2:9"]
}]
}

View File

@ -10,6 +10,7 @@ OUTPUT:
"usr": "c:@N@hello@F@foo#I#I#",
"short_name": "foo",
"qualified_name": "hello::foo",
"hover": "void (int, int)",
"declarations": ["2:6-2:9"]
}]
}

View File

@ -10,6 +10,7 @@ OUTPUT:
"usr": "c:@N@hello@F@foo#",
"short_name": "foo",
"qualified_name": "hello::foo",
"hover": "void ()",
"definition_spelling": "2:6-2:9",
"definition_extent": "2:1-2:14"
}]

View File

@ -22,6 +22,7 @@ OUTPUT:
"usr": "c:@N@hello@S@Foo@F@foo#",
"short_name": "foo",
"qualified_name": "hello::Foo::foo",
"hover": "void ()",
"declarations": ["3:8-3:11"],
"declaring_type": 0
}]

View File

@ -24,6 +24,7 @@ OUTPUT:
"usr": "c:@N@hello@S@Foo@F@foo#",
"short_name": "foo",
"qualified_name": "hello::Foo::foo",
"hover": "void ()",
"declarations": ["3:8-3:11"],
"definition_spelling": "6:11-6:14",
"definition_extent": "6:1-6:19",

View File

@ -22,6 +22,7 @@ OUTPUT:
"usr": "c:@N@hello@S@Foo@F@foo#",
"short_name": "foo",
"qualified_name": "hello::Foo::foo",
"hover": "void ()",
"definition_spelling": "3:8-3:11",
"definition_extent": "3:3-3:16",
"declaring_type": 0

View File

@ -17,6 +17,7 @@ OUTPUT:
"usr": "c:@N@ns@F@Accept#I#",
"short_name": "Accept",
"qualified_name": "ns::Accept",
"hover": "void (int)",
"definition_spelling": "3:8-3:14",
"definition_extent": "3:3-3:24",
"callers": ["1@7:7-7:13", "1@9:3-9:9"]
@ -25,6 +26,7 @@ OUTPUT:
"usr": "c:@F@Runner#",
"short_name": "Runner",
"qualified_name": "Runner",
"hover": "void ()",
"definition_spelling": "6:6-6:12",
"definition_extent": "6:1-10:2",
"callees": ["0@7:7-7:13", "0@9:3-9:9"]
@ -34,6 +36,7 @@ OUTPUT:
"usr": "c:@N@ns@Foo",
"short_name": "Foo",
"qualified_name": "ns::Foo",
"hover": "int",
"definition_spelling": "2:7-2:10",
"definition_extent": "2:3-2:10",
"uses": ["2:7-2:10", "7:18-7:21", "9:10-9:13"]
@ -42,6 +45,7 @@ OUTPUT:
"usr": "c:namespace_reference.cc@42@N@ns@F@Accept#I#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "3:19-3:20",
"definition_extent": "3:15-3:20",
"uses": ["3:19-3:20"]

View File

@ -30,6 +30,7 @@ OUTPUT:
"usr": "c:@S@MergeableUpdate@FI@a",
"short_name": "a",
"qualified_name": "MergeableUpdate::a",
"hover": "int",
"definition_spelling": "4:7-4:8",
"definition_extent": "4:3-4:8",
"declaring_type": 0,
@ -39,6 +40,7 @@ OUTPUT:
"usr": "c:@S@MergeableUpdate@FI@b",
"short_name": "b",
"qualified_name": "MergeableUpdate::b",
"hover": "int",
"definition_spelling": "5:7-5:8",
"definition_extent": "5:3-5:8",
"declaring_type": 0,
@ -48,6 +50,7 @@ OUTPUT:
"usr": "c:@S@MergeableUpdate@FI@to_add",
"short_name": "to_add",
"qualified_name": "MergeableUpdate::to_add",
"hover": "std::vector<int>",
"definition_spelling": "6:20-6:26",
"definition_extent": "6:3-6:26",
"variable_type": 1,

View File

@ -40,6 +40,7 @@ OUTPUT:
"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",
"qualified_name": "LoadCompilationEntriesFromDirectory",
"hover": "std::vector<CompilationEntry> (const std::string &)",
"declarations": ["12:31-12:66"]
}],
"vars": [{
@ -47,6 +48,7 @@ OUTPUT:
"usr": "c:@S@CompilationEntry@FI@directory",
"short_name": "directory",
"qualified_name": "CompilationEntry::directory",
"hover": "std::string",
"definition_spelling": "7:15-7:24",
"definition_extent": "7:3-7:24",
"variable_type": 1,
@ -57,6 +59,7 @@ OUTPUT:
"usr": "c:@S@CompilationEntry@FI@filename",
"short_name": "filename",
"qualified_name": "CompilationEntry::filename",
"hover": "std::string",
"definition_spelling": "8:15-8:23",
"definition_extent": "8:3-8:23",
"variable_type": 1,
@ -67,6 +70,7 @@ OUTPUT:
"usr": "c:@S@CompilationEntry@FI@args",
"short_name": "args",
"qualified_name": "CompilationEntry::args",
"hover": "std::vector<std::string>",
"definition_spelling": "9:28-9:32",
"definition_extent": "9:3-9:32",
"variable_type": 2,

View File

@ -33,6 +33,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@Bar#&$@S@Template>#d#",
"short_name": "Bar",
"qualified_name": "Foo::Bar",
"hover": "void (Template<double> &)",
"declarations": ["5:8-5:11"],
"definition_spelling": "8:11-8:14",
"definition_extent": "8:1-8:36",

View File

@ -41,6 +41,7 @@ OUTPUT:
"usr": "c:@N@ns@ST>1#T@Holder@static_var",
"short_name": "static_var",
"qualified_name": "ns::Holder::static_var",
"hover": "const ns::VarType",
"declaration": "6:30-6:40",
"definition_spelling": "10:37-10:47",
"definition_extent": "9:3-10:47",
@ -52,6 +53,7 @@ OUTPUT:
"usr": "c:@N@ns@Foo",
"short_name": "Foo",
"qualified_name": "ns::Foo",
"hover": "int",
"definition_spelling": "13:7-13:10",
"definition_extent": "13:3-13:36",
"uses": ["13:7-13:10"]
@ -60,6 +62,7 @@ OUTPUT:
"usr": "c:@N@ns@Foo2",
"short_name": "Foo2",
"qualified_name": "ns::Foo2",
"hover": "int",
"definition_spelling": "14:7-14:11",
"definition_extent": "14:3-14:37",
"uses": ["14:7-14:11"]

View File

@ -29,6 +29,7 @@ OUTPUT:
"usr": "c:@N@ns@ST>1#T@Foo@FT@>1#Tfoo#I#S",
"short_name": "foo",
"qualified_name": "ns::Foo::foo",
"hover": "int ()",
"definition_spelling": "5:16-5:19",
"definition_extent": "5:5-7:6",
"declaring_type": 0,
@ -39,6 +40,7 @@ OUTPUT:
"usr": "c:@N@ns@a",
"short_name": "a",
"qualified_name": "ns::a",
"hover": "int",
"definition_spelling": "10:7-10:8",
"definition_extent": "10:3-10:33",
"uses": ["10:7-10:8"]
@ -47,6 +49,7 @@ OUTPUT:
"usr": "c:@N@ns@b",
"short_name": "b",
"qualified_name": "ns::b",
"hover": "int",
"definition_spelling": "11:7-11:8",
"definition_extent": "11:3-11:35",
"uses": ["11:7-11:8"]

View File

@ -24,6 +24,7 @@ OUTPUT:
"usr": "c:@N@ns@a",
"short_name": "a",
"qualified_name": "ns::a",
"hover": "Foo<int>",
"definition_spelling": "5:12-5:13",
"definition_extent": "5:3-5:13",
"variable_type": 0,
@ -33,6 +34,7 @@ OUTPUT:
"usr": "c:@N@ns@b",
"short_name": "b",
"qualified_name": "ns::b",
"hover": "Foo<bool>",
"definition_spelling": "6:13-6:14",
"definition_extent": "6:3-6:14",
"variable_type": 0,

View File

@ -31,6 +31,7 @@ OUTPUT:
"short_name": "Foo",
"qualified_name": "Template::Foo",
"declarations": ["3:8-3:11", "9:22-9:25"],
"hover": "void ()",
"definition_spelling": "7:19-7:22",
"definition_extent": "6:1-7:24",
"declaring_type": 0

View File

@ -26,6 +26,7 @@ OUTPUT:
"usr": "c:@ST>1#T@Foo@F@foo#S",
"short_name": "foo",
"qualified_name": "Foo::foo",
"hover": "int ()",
"definition_spelling": "3:14-3:17",
"definition_extent": "3:3-5:4",
"declaring_type": 0,
@ -36,6 +37,7 @@ OUTPUT:
"usr": "c:@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "8:5-8:6",
"definition_extent": "8:1-8:24",
"uses": ["8:5-8:6"]
@ -44,6 +46,7 @@ OUTPUT:
"usr": "c:@b",
"short_name": "b",
"qualified_name": "b",
"hover": "int",
"definition_spelling": "9:5-9:6",
"definition_extent": "9:1-9:25",
"uses": ["9:5-9:6"]

View File

@ -27,6 +27,7 @@ OUTPUT:
"usr": "c:@ST>1#T@Foo@FT@>1#Tfoo#I#S",
"short_name": "foo",
"qualified_name": "Foo::foo",
"hover": "int ()",
"definition_spelling": "4:14-4:17",
"definition_extent": "4:3-6:4",
"declaring_type": 0,
@ -37,6 +38,7 @@ OUTPUT:
"usr": "c:@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "9:5-9:6",
"definition_extent": "9:1-9:31",
"uses": ["9:5-9:6"]
@ -45,6 +47,7 @@ OUTPUT:
"usr": "c:@b",
"short_name": "b",
"qualified_name": "b",
"hover": "int",
"definition_spelling": "10:5-10:6",
"definition_extent": "10:1-10:33",
"uses": ["10:5-10:6"]

View File

@ -69,6 +69,7 @@ OUTPUT:
"usr": "c:@a",
"short_name": "a",
"qualified_name": "a",
"hover": "Foo<A>::Inner",
"definition_spelling": "9:15-9:16",
"definition_extent": "9:1-9:16",
"variable_type": 3,
@ -78,6 +79,7 @@ OUTPUT:
"usr": "c:@b",
"short_name": "b",
"qualified_name": "b",
"hover": "Foo<B>::Inner",
"definition_spelling": "10:15-10:16",
"definition_extent": "10:1-10:16",
"variable_type": 3,

View File

@ -23,6 +23,7 @@ OUTPUT:
"usr": "c:@ST>1#T@Foo@var",
"short_name": "var",
"qualified_name": "Foo::var",
"hover": "const int",
"declaration": "3:24-3:27",
"uses": ["3:24-3:27", "6:19-6:22", "7:20-7:23"]
}, {
@ -30,6 +31,7 @@ OUTPUT:
"usr": "c:@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "6:5-6:6",
"definition_extent": "6:1-6:22",
"uses": ["6:5-6:6"]
@ -38,6 +40,7 @@ OUTPUT:
"usr": "c:@b",
"short_name": "b",
"qualified_name": "b",
"hover": "int",
"definition_spelling": "7:5-7:6",
"definition_extent": "7:1-7:23",
"uses": ["7:5-7:6"]

View File

@ -17,6 +17,7 @@ OUTPUT:
"usr": "c:template_func_usage_folded_into_one.cc@FT@>1#Tfoo#I#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "int ()",
"definition_spelling": "2:12-2:15",
"definition_extent": "2:1-4:2",
"callers": ["-1@6:9-6:12", "-1@7:9-7:12"]
@ -26,6 +27,7 @@ OUTPUT:
"usr": "c:@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "6:5-6:6",
"definition_extent": "6:1-6:19",
"uses": ["6:5-6:6"]
@ -34,6 +36,7 @@ OUTPUT:
"usr": "c:@b",
"short_name": "b",
"qualified_name": "b",
"hover": "int",
"definition_spelling": "7:5-7:6",
"definition_extent": "7:1-7:20",
"uses": ["7:5-7:6"]

View File

@ -22,6 +22,7 @@ OUTPUT:
"usr": "c:@a",
"short_name": "a",
"qualified_name": "a",
"hover": "Foo<int>",
"definition_spelling": "4:10-4:11",
"definition_extent": "4:1-4:11",
"variable_type": 0,
@ -31,6 +32,7 @@ OUTPUT:
"usr": "c:@b",
"short_name": "b",
"qualified_name": "b",
"hover": "Foo<bool>",
"definition_spelling": "5:11-5:12",
"definition_extent": "5:1-5:12",
"variable_type": 0,

View File

@ -56,6 +56,7 @@ OUTPUT:
"usr": "c:@VT>1#T@var",
"short_name": "var",
"qualified_name": "var",
"hover": "T",
"definition_spelling": "5:3-5:6",
"definition_extent": "5:1-5:10",
"uses": ["5:3-5:6", "7:9-7:12", "8:9-8:12"]
@ -64,6 +65,7 @@ OUTPUT:
"usr": "c:@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "7:5-7:6",
"definition_extent": "7:1-7:15",
"uses": ["7:5-7:6"]
@ -72,6 +74,7 @@ OUTPUT:
"usr": "c:@b",
"short_name": "b",
"qualified_name": "b",
"hover": "int",
"definition_spelling": "8:5-8:6",
"definition_extent": "8:1-8:15",
"uses": ["8:5-8:6"]

View File

@ -30,6 +30,7 @@ OUTPUT:
"usr": "c:@U@vector3@Sa@FI@x",
"short_name": "x",
"qualified_name": "x",
"hover": "float",
"definition_spelling": "2:18-2:19",
"definition_extent": "2:12-2:19",
"declaring_type": 1,
@ -39,6 +40,7 @@ OUTPUT:
"usr": "c:@U@vector3@Sa@FI@y",
"short_name": "y",
"qualified_name": "y",
"hover": "float",
"definition_spelling": "2:21-2:22",
"definition_extent": "2:12-2:22",
"declaring_type": 1,
@ -48,6 +50,7 @@ OUTPUT:
"usr": "c:@U@vector3@Sa@FI@z",
"short_name": "z",
"qualified_name": "z",
"hover": "float",
"definition_spelling": "2:24-2:25",
"definition_extent": "2:12-2:25",
"declaring_type": 1,
@ -57,6 +60,7 @@ OUTPUT:
"usr": "c:@U@vector3@FI@v",
"short_name": "v",
"qualified_name": "vector3::v",
"hover": "float [3]",
"definition_spelling": "3:9-3:10",
"definition_extent": "3:3-3:13",
"declaring_type": 0,

View File

@ -21,6 +21,7 @@ OUTPUT:
"usr": "c:@U@Foo@FI@a",
"short_name": "a",
"qualified_name": "Foo::a",
"hover": "int",
"definition_spelling": "2:7-2:8",
"definition_extent": "2:3-2:8",
"declaring_type": 0,
@ -30,6 +31,7 @@ OUTPUT:
"usr": "c:@U@Foo@FI@b",
"short_name": "b",
"qualified_name": "Foo::b",
"hover": "bool",
"definition_spelling": "3:8-3:9",
"definition_extent": "3:3-3:9",
"declaring_type": 0,

View File

@ -30,6 +30,7 @@ OUTPUT:
"usr": "c:@F@act#*$@U@Foo#",
"short_name": "act",
"qualified_name": "act",
"hover": "void (Foo *)",
"definition_spelling": "8:6-8:9",
"definition_extent": "8:1-10:2"
}],
@ -38,6 +39,7 @@ OUTPUT:
"usr": "c:@U@Foo@FI@a",
"short_name": "a",
"qualified_name": "Foo::a",
"hover": "int",
"definition_spelling": "2:7-2:8",
"definition_extent": "2:3-2:12",
"declaring_type": 0,
@ -47,6 +49,7 @@ OUTPUT:
"usr": "c:@U@Foo@FI@b",
"short_name": "b",
"qualified_name": "Foo::b",
"hover": "bool",
"definition_spelling": "3:8-3:9",
"definition_extent": "3:3-3:13",
"declaring_type": 0,
@ -56,6 +59,7 @@ OUTPUT:
"usr": "c:@f",
"short_name": "f",
"qualified_name": "f",
"hover": "Foo",
"definition_spelling": "6:5-6:6",
"definition_extent": "6:1-6:6",
"variable_type": 0,

View File

@ -26,6 +26,7 @@ OUTPUT:
"usr": "c:@F@called#",
"short_name": "called",
"qualified_name": "called",
"hover": "void ()",
"definition_spelling": "1:6-1:12",
"definition_extent": "1:1-1:17",
"callers": ["1@8:3-8:9"]
@ -34,6 +35,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@Foo#",
"short_name": "Foo",
"qualified_name": "Foo::Foo",
"hover": "void ()",
"declarations": ["4:3-4:6"],
"definition_spelling": "7:6-7:9",
"definition_extent": "7:1-9:2",

View File

@ -14,6 +14,7 @@ OUTPUT:
"usr": "c:@F@called#b#b#",
"short_name": "called",
"qualified_name": "called",
"hover": "bool (bool, bool)",
"declarations": ["3:6-3:12"],
"callers": ["1@6:14-6:20"]
}, {
@ -21,6 +22,7 @@ OUTPUT:
"usr": "c:@F@caller#",
"short_name": "caller",
"qualified_name": "caller",
"hover": "void ()",
"definition_spelling": "5:6-5:12",
"definition_extent": "5:1-7:2",
"callees": ["0@6:14-6:20"]

View File

@ -19,6 +19,7 @@ OUTPUT:
"usr": "c:@F@called#",
"short_name": "called",
"qualified_name": "called",
"hover": "void ()",
"declarations": ["1:6-1:12"],
"callers": ["1@5:3-5:9"]
}, {
@ -26,6 +27,7 @@ OUTPUT:
"usr": "c:@FT@>1#Tcaller#v#",
"short_name": "caller",
"qualified_name": "caller",
"hover": "void ()",
"definition_spelling": "4:6-4:12",
"definition_extent": "4:1-6:2",
"callers": ["2@9:3-9:9"],
@ -35,6 +37,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "8:6-8:9",
"definition_extent": "8:1-10:2",
"callees": ["1@9:3-9:9"]

View File

@ -26,6 +26,7 @@ OUTPUT:
"usr": "c:@S@Wrapper@F@Wrapper#I#",
"short_name": "Wrapper",
"qualified_name": "Wrapper::Wrapper",
"hover": "void (int)",
"declarations": ["2:3-2:10"],
"declaring_type": 0,
"callers": ["2@8:10-8:16"]
@ -34,6 +35,7 @@ OUTPUT:
"usr": "c:@F@called#",
"short_name": "called",
"qualified_name": "called",
"hover": "int ()",
"definition_spelling": "5:5-5:11",
"definition_extent": "5:1-5:27",
"callers": ["2@8:10-8:16"]
@ -42,6 +44,7 @@ OUTPUT:
"usr": "c:@F@caller#",
"short_name": "caller",
"qualified_name": "caller",
"hover": "Wrapper ()",
"definition_spelling": "7:9-7:15",
"definition_extent": "7:1-9:2",
"callees": ["0@8:10-8:16", "1@8:10-8:16"]

View File

@ -15,6 +15,7 @@ OUTPUT:
"usr": "c:@F@consume#*v#",
"short_name": "consume",
"qualified_name": "consume",
"hover": "void (void *)",
"definition_spelling": "1:6-1:13",
"definition_extent": "1:1-1:23",
"callers": ["2@7:3-7:10"]
@ -23,6 +24,7 @@ OUTPUT:
"usr": "c:@F@used#",
"short_name": "used",
"qualified_name": "used",
"hover": "void ()",
"definition_spelling": "3:6-3:10",
"definition_extent": "3:1-3:15",
"callers": ["2@6:13-6:17", "2@7:12-7:16"]
@ -31,6 +33,7 @@ OUTPUT:
"usr": "c:@F@user#",
"short_name": "user",
"qualified_name": "user",
"hover": "void ()",
"definition_spelling": "5:6-5:10",
"definition_extent": "5:1-8:2",
"callees": ["1@6:13-6:17", "0@7:3-7:10", "1@7:12-7:16"]
@ -40,6 +43,7 @@ OUTPUT:
"usr": "c:func_usage_addr_func.cc@61@F@user#@x",
"short_name": "x",
"qualified_name": "x",
"hover": "void (*)()",
"definition_spelling": "6:8-6:9",
"definition_extent": "6:3-6:17",
"uses": ["6:8-6:9"]

View File

@ -25,6 +25,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@Used#",
"short_name": "Used",
"qualified_name": "Foo::Used",
"hover": "void ()",
"declarations": ["2:8-2:12"],
"declaring_type": 0,
"callers": ["1@6:18-6:22"]
@ -33,6 +34,7 @@ OUTPUT:
"usr": "c:@F@user#",
"short_name": "user",
"qualified_name": "user",
"hover": "void ()",
"definition_spelling": "5:6-5:10",
"definition_extent": "5:1-7:2",
"callees": ["0@6:18-6:22"]
@ -42,6 +44,7 @@ OUTPUT:
"usr": "c:func_usage_addr_method.cc@53@F@user#@x",
"short_name": "x",
"qualified_name": "x",
"hover": "void (Foo::*)()",
"definition_spelling": "6:8-6:9",
"definition_extent": "6:3-6:22",
"uses": ["6:8-6:9"]

View File

@ -11,6 +11,7 @@ OUTPUT:
"usr": "c:@F@called#",
"short_name": "called",
"qualified_name": "called",
"hover": "void ()",
"definition_spelling": "1:6-1:12",
"definition_extent": "1:1-1:17",
"callers": ["1@3:3-3:9"]
@ -19,6 +20,7 @@ OUTPUT:
"usr": "c:@F@caller#",
"short_name": "caller",
"qualified_name": "caller",
"hover": "void ()",
"definition_spelling": "2:6-2:12",
"definition_extent": "2:1-4:2",
"callees": ["0@3:3-3:9"]

View File

@ -26,6 +26,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@Used#",
"short_name": "Used",
"qualified_name": "Foo::Used",
"hover": "void ()",
"declarations": ["2:8-2:12"],
"declaring_type": 0,
"callers": ["1@7:6-7:10"]
@ -34,6 +35,7 @@ OUTPUT:
"usr": "c:@F@user#",
"short_name": "user",
"qualified_name": "user",
"hover": "void ()",
"definition_spelling": "5:6-5:10",
"definition_extent": "5:1-8:2",
"callees": ["0@7:6-7:10"]
@ -43,6 +45,7 @@ OUTPUT:
"usr": "c:func_usage_call_method.cc@53@F@user#@f",
"short_name": "f",
"qualified_name": "f",
"hover": "Foo *",
"definition_spelling": "6:8-6:9",
"definition_extent": "6:3-6:19",
"variable_type": 0,

View File

@ -24,6 +24,7 @@ OUTPUT:
"usr": "c:func_usage_class_inline_var_def.cc@F@helper#",
"short_name": "helper",
"qualified_name": "helper",
"hover": "int ()",
"definition_spelling": "1:12-1:18",
"definition_extent": "1:1-3:2",
"callers": ["-1@6:11-6:17"]
@ -33,6 +34,7 @@ OUTPUT:
"usr": "c:@S@Foo@FI@x",
"short_name": "x",
"qualified_name": "Foo::x",
"hover": "int",
"definition_spelling": "6:7-6:8",
"definition_extent": "6:3-6:19",
"declaring_type": 0,

View File

@ -11,6 +11,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"declarations": ["1:6-1:9"],
"callers": ["1@4:3-4:6"]
}, {
@ -18,6 +19,7 @@ OUTPUT:
"usr": "c:@F@usage#",
"short_name": "usage",
"qualified_name": "usage",
"hover": "void ()",
"definition_spelling": "3:6-3:11",
"definition_extent": "3:1-5:2",
"callees": ["0@4:3-4:6"]

View File

@ -25,6 +25,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@foo#",
"short_name": "foo",
"qualified_name": "Foo::foo",
"hover": "void ()",
"declarations": ["2:8-2:11"],
"declaring_type": 0,
"callers": ["1@7:6-7:9"]
@ -33,6 +34,7 @@ OUTPUT:
"usr": "c:@F@usage#",
"short_name": "usage",
"qualified_name": "usage",
"hover": "void ()",
"definition_spelling": "5:6-5:11",
"definition_extent": "5:1-8:2",
"callees": ["0@7:6-7:9"]
@ -42,6 +44,7 @@ OUTPUT:
"usr": "c:func_usage_forward_decl_method.cc@53@F@usage#@f",
"short_name": "f",
"qualified_name": "f",
"hover": "Foo *",
"definition_spelling": "6:8-6:9",
"definition_extent": "6:3-6:19",
"variable_type": 0,

View File

@ -14,6 +14,7 @@ OUTPUT:
"usr": "c:@FT@>1#Taccept#t0.0#v#",
"short_name": "accept",
"qualified_name": "accept",
"hover": "void (T)",
"declarations": ["2:6-2:12"],
"callers": ["1@5:3-5:9", "1@6:3-6:9"]
}, {
@ -21,6 +22,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "4:6-4:9",
"definition_extent": "4:1-7:2",
"callees": ["0@5:3-5:9", "0@6:3-6:9"]

View File

@ -32,6 +32,7 @@ OUTPUT:
"usr": "c:@F@return_type#",
"short_name": "return_type",
"qualified_name": "return_type",
"hover": "unique_ptr<S> *()",
"definition_spelling": "9:16-9:27",
"definition_extent": "9:1-12:2"
}],
@ -40,6 +41,7 @@ OUTPUT:
"usr": "c:type_usage_as_template_parameter.cc@f0",
"short_name": "f0",
"qualified_name": "f0",
"hover": "unique_ptr<bool>",
"definition_spelling": "6:25-6:27",
"definition_extent": "6:1-6:27",
"variable_type": 0,
@ -49,6 +51,7 @@ OUTPUT:
"usr": "c:type_usage_as_template_parameter.cc@f1",
"short_name": "f1",
"qualified_name": "f1",
"hover": "unique_ptr<S>",
"definition_spelling": "7:22-7:24",
"definition_extent": "7:1-7:24",
"variable_type": 0,
@ -58,11 +61,11 @@ OUTPUT:
"usr": "c:type_usage_as_template_parameter.cc@150@F@return_type#@local",
"short_name": "local",
"qualified_name": "local",
"hover": "unique_ptr<S> *",
"definition_spelling": "10:18-10:23",
"definition_extent": "10:3-10:23",
"variable_type": 0,
"uses": ["10:18-10:23"]
}]
}
*/

View File

@ -109,6 +109,7 @@ OUTPUT:
"usr": "c:@F@as_return_type#*$@S@unique_ptr>#$@S@S1#$@S@S2#",
"short_name": "as_return_type",
"qualified_name": "as_return_type",
"hover": "unique_ptr<unique_ptr<S1, S2>, S2> *(unique_ptr<S1, S2> *)",
"definition_spelling": "33:37-33:51",
"definition_extent": "33:1-33:92"
}, {
@ -116,6 +117,7 @@ OUTPUT:
"usr": "c:@F@no_return_type#I#",
"short_name": "no_return_type",
"qualified_name": "no_return_type",
"hover": "void (int)",
"definition_spelling": "40:6-40:20",
"definition_extent": "40:1-40:28"
}, {
@ -123,6 +125,7 @@ OUTPUT:
"usr": "c:@F@empty#",
"short_name": "empty",
"qualified_name": "empty",
"hover": "void ()",
"definition_spelling": "53:6-53:11",
"definition_extent": "53:1-55:2"
}, {
@ -130,6 +133,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@foo#",
"short_name": "foo",
"qualified_name": "Foo::foo",
"hover": "unique_ptr<S1, S2> *()",
"declarations": ["65:23-65:26"],
"definition_spelling": "79:26-79:29",
"definition_extent": "79:1-79:51",
@ -140,6 +144,7 @@ OUTPUT:
"usr": "c:@f",
"short_name": "f",
"qualified_name": "f",
"hover": "unique_ptr<unique_ptr<S1, S2>, S2>",
"declaration": "15:43-15:44",
"variable_type": 0,
"uses": ["15:43-15:44"]
@ -148,6 +153,7 @@ OUTPUT:
"usr": "c:type_usage_as_template_parameter_complex.cc@1062@F@empty#@local",
"short_name": "local",
"qualified_name": "local",
"hover": "unique_ptr<unique_ptr<S1, S2>, S2> *",
"definition_spelling": "54:39-54:44",
"definition_extent": "54:3-54:44",
"variable_type": 0,

View File

@ -27,6 +27,7 @@ OUTPUT:
"usr": "c:type_usage_as_template_parameter_simple.cc@foo",
"short_name": "foo",
"qualified_name": "foo",
"hover": "unique_ptr<S>",
"definition_spelling": "6:22-6:25",
"definition_extent": "6:1-6:25",
"variable_type": 0,

View File

@ -19,6 +19,7 @@ OUTPUT:
"usr": "c:@t",
"short_name": "t",
"qualified_name": "t",
"hover": "T",
"declaration": "3:10-3:11",
"variable_type": 0,
"uses": ["3:10-3:11"]

View File

@ -38,6 +38,7 @@ OUTPUT:
"usr": "c:@S@Foo@FI@a",
"short_name": "a",
"qualified_name": "Foo::a",
"hover": "ForwardType *",
"definition_spelling": "5:16-5:17",
"definition_extent": "5:3-5:17",
"variable_type": 0,
@ -48,6 +49,7 @@ OUTPUT:
"usr": "c:@S@Foo@FI@b",
"short_name": "b",
"qualified_name": "Foo::b",
"hover": "ImplementedType",
"definition_spelling": "6:19-6:20",
"definition_extent": "6:3-6:20",
"variable_type": 1,

View File

@ -29,6 +29,7 @@ OUTPUT:
"usr": "c:@F@Foo#",
"short_name": "Foo",
"qualified_name": "Foo",
"hover": "void ()",
"definition_spelling": "4:6-4:9",
"definition_extent": "4:1-7:2"
}],
@ -37,6 +38,7 @@ OUTPUT:
"usr": "c:type_usage_declare_local.cc@67@F@Foo#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "ForwardType *",
"definition_spelling": "5:16-5:17",
"definition_extent": "5:3-5:17",
"variable_type": 0,
@ -46,6 +48,7 @@ OUTPUT:
"usr": "c:type_usage_declare_local.cc@86@F@Foo#@b",
"short_name": "b",
"qualified_name": "b",
"hover": "ImplementedType",
"definition_spelling": "6:19-6:20",
"definition_extent": "6:3-6:20",
"variable_type": 1,

View File

@ -26,6 +26,7 @@ OUTPUT:
"usr": "c:@F@foo#*$@S@ForwardType#$@S@ImplementedType#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (ForwardType *, ImplementedType)",
"definition_spelling": "4:6-4:9",
"definition_extent": "4:1-4:47"
}],
@ -34,6 +35,7 @@ OUTPUT:
"usr": "c:type_usage_declare_param.cc@60@F@foo#*$@S@ForwardType#$@S@ImplementedType#@f",
"short_name": "f",
"qualified_name": "f",
"hover": "ForwardType *",
"definition_spelling": "4:23-4:24",
"definition_extent": "4:10-4:24",
"variable_type": 0,
@ -43,6 +45,7 @@ OUTPUT:
"usr": "c:type_usage_declare_param.cc@76@F@foo#*$@S@ForwardType#$@S@ImplementedType#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "ImplementedType",
"definition_spelling": "4:42-4:43",
"definition_extent": "4:26-4:43",
"variable_type": 1,

View File

@ -22,6 +22,7 @@ OUTPUT:
"usr": "c:@F@foo#*$@S@Foo#S0_#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (Foo *, Foo *)",
"declarations": ["3:6-3:9"],
"definition_spelling": "4:6-4:9",
"definition_extent": "4:1-4:26"
@ -31,6 +32,7 @@ OUTPUT:
"usr": "c:type_usage_declare_param_prototype.cc@49@F@foo#*$@S@Foo#S0_#@f",
"short_name": "f",
"qualified_name": "f",
"hover": "Foo *",
"definition_spelling": "4:15-4:16",
"definition_extent": "4:10-4:16",
"variable_type": 0,

View File

@ -13,6 +13,7 @@ OUTPUT:
"usr": "c:@F@foo#*$@S@ForwardType#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (ForwardType *)",
"definition_spelling": "2:6-2:9",
"definition_extent": "2:1-2:26"
}]

View File

@ -24,6 +24,7 @@ OUTPUT:
"usr": "c:@F@foo#&$@S@Type#&1S1_#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (Type &, const Type &)",
"definition_spelling": "3:6-3:9",
"definition_extent": "3:1-8:2"
}],
@ -32,6 +33,7 @@ OUTPUT:
"usr": "c:type_usage_declare_qualifiers.cc@28@F@foo#&$@S@Type#&1S1_#@a0",
"short_name": "a0",
"qualified_name": "a0",
"hover": "Type &",
"definition_spelling": "3:16-3:18",
"definition_extent": "3:10-3:18",
"variable_type": 0,
@ -41,6 +43,7 @@ OUTPUT:
"usr": "c:type_usage_declare_qualifiers.cc@38@F@foo#&$@S@Type#&1S1_#@a1",
"short_name": "a1",
"qualified_name": "a1",
"hover": "const Type &",
"definition_spelling": "3:32-3:34",
"definition_extent": "3:20-3:34",
"variable_type": 0,
@ -50,6 +53,7 @@ OUTPUT:
"usr": "c:type_usage_declare_qualifiers.cc@59@F@foo#&$@S@Type#&1S1_#@a2",
"short_name": "a2",
"qualified_name": "a2",
"hover": "Type",
"definition_spelling": "4:8-4:10",
"definition_extent": "4:3-4:10",
"variable_type": 0,
@ -59,6 +63,7 @@ OUTPUT:
"usr": "c:type_usage_declare_qualifiers.cc@71@F@foo#&$@S@Type#&1S1_#@a3",
"short_name": "a3",
"qualified_name": "a3",
"hover": "Type *",
"definition_spelling": "5:9-5:11",
"definition_extent": "5:3-5:11",
"variable_type": 0,
@ -68,6 +73,7 @@ OUTPUT:
"usr": "c:type_usage_declare_qualifiers.cc@84@F@foo#&$@S@Type#&1S1_#@a4",
"short_name": "a4",
"qualified_name": "a4",
"hover": "const Type *",
"definition_spelling": "6:15-6:17",
"definition_extent": "6:3-6:17",
"variable_type": 0,
@ -77,6 +83,7 @@ OUTPUT:
"usr": "c:type_usage_declare_qualifiers.cc@103@F@foo#&$@S@Type#&1S1_#@a5",
"short_name": "a5",
"qualified_name": "a5",
"hover": "const Type *",
"definition_spelling": "7:21-7:23",
"definition_extent": "7:3-7:23",
"variable_type": 0,

View File

@ -14,6 +14,7 @@ OUTPUT:
"usr": "c:type_usage_declare_static.cc@t",
"short_name": "t",
"qualified_name": "t",
"hover": "Type",
"definition_spelling": "2:13-2:14",
"definition_extent": "2:1-2:14",
"variable_type": 0,

View File

@ -39,6 +39,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "Type *()",
"declarations": ["3:7-3:10", "4:7-4:10"],
"definition_spelling": "5:7-5:10",
"definition_extent": "5:1-5:15"
@ -47,6 +48,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@Get#I#",
"short_name": "Get",
"qualified_name": "Foo::Get",
"hover": "Type *(int)",
"declarations": ["8:9-8:12"],
"definition_spelling": "12:12-12:15",
"definition_extent": "12:1-12:23",
@ -56,6 +58,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@Empty#",
"short_name": "Empty",
"qualified_name": "Foo::Empty",
"hover": "void ()",
"declarations": ["9:8-9:13"],
"definition_spelling": "13:11-13:16",
"definition_extent": "13:1-13:21",
@ -65,12 +68,14 @@ OUTPUT:
"usr": "c:@F@external#",
"short_name": "external",
"qualified_name": "external",
"hover": "const Type &()",
"declarations": ["15:20-15:28"]
}, {
"id": 4,
"usr": "c:type_usage_on_return_type.cc@F@bar#",
"short_name": "bar",
"qualified_name": "bar",
"hover": "Type *()",
"declarations": ["17:14-17:17"],
"definition_spelling": "18:14-18:17",
"definition_extent": "18:1-18:22"

View File

@ -57,6 +57,7 @@ OUTPUT:
"usr": "c:@F@accept#*$@S@Foo#",
"short_name": "accept",
"qualified_name": "accept",
"hover": "void (Foo *)",
"definition_spelling": "7:6-7:12",
"definition_extent": "7:1-7:21"
}, {
@ -64,6 +65,7 @@ OUTPUT:
"usr": "c:@F@accept1#**$@S@Foo#",
"short_name": "accept1",
"qualified_name": "accept1",
"hover": "void (Foo1 *)",
"definition_spelling": "8:6-8:13",
"definition_extent": "8:1-8:23"
}, {
@ -71,6 +73,7 @@ OUTPUT:
"usr": "c:@F@accept2#*$@S@Foo#",
"short_name": "accept2",
"qualified_name": "accept2",
"hover": "void (Foo2 *)",
"definition_spelling": "9:6-9:13",
"definition_extent": "9:1-9:23"
}, {
@ -78,6 +81,7 @@ OUTPUT:
"usr": "c:@F@accept3#**$@S@Foo#",
"short_name": "accept3",
"qualified_name": "accept3",
"hover": "void (Foo3 *)",
"definition_spelling": "10:6-10:13",
"definition_extent": "10:1-10:23"
}]

View File

@ -28,6 +28,7 @@ OUTPUT:
"usr": "c:@S@Foo@F@make#",
"short_name": "make",
"qualified_name": "Foo::make",
"hover": "Foo *()",
"declarations": ["2:8-2:12"],
"definition_spelling": "5:11-5:15",
"definition_extent": "5:1-8:2",
@ -38,6 +39,7 @@ OUTPUT:
"usr": "c:type_usage_various.cc@57@S@Foo@F@make#@f",
"short_name": "f",
"qualified_name": "f",
"hover": "Foo",
"definition_spelling": "6:7-6:8",
"definition_extent": "6:3-6:8",
"variable_type": 0,
@ -47,6 +49,7 @@ OUTPUT:
"usr": "c:@foo",
"short_name": "foo",
"qualified_name": "foo",
"hover": "Foo",
"declaration": "10:12-10:15",
"variable_type": 0,
"uses": ["10:12-10:15"]

View File

@ -32,6 +32,7 @@ OUTPUT:
"usr": "c:@F@called#I#",
"short_name": "called",
"qualified_name": "called",
"hover": "void (int)",
"declarations": ["1:6-1:12"],
"callers": ["2@14:3-14:9"]
}, {
@ -39,6 +40,7 @@ OUTPUT:
"usr": "c:@F@gen#",
"short_name": "gen",
"qualified_name": "gen",
"hover": "int ()",
"declarations": ["3:5-3:8"],
"callers": ["2@14:14-14:17"]
}, {
@ -46,6 +48,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "12:6-12:9",
"definition_extent": "12:1-15:2",
"callees": ["0@14:3-14:9", "1@14:14-14:17"]
@ -55,6 +58,7 @@ OUTPUT:
"usr": "c:@S@Foo@static_var",
"short_name": "static_var",
"qualified_name": "Foo::static_var",
"hover": "int",
"declaration": "6:14-6:24",
"definition_spelling": "10:10-10:20",
"definition_extent": "10:1-10:24",
@ -65,6 +69,7 @@ OUTPUT:
"usr": "c:@S@Foo@FI@field_var",
"short_name": "field_var",
"qualified_name": "Foo::field_var",
"hover": "int",
"definition_spelling": "7:7-7:16",
"definition_extent": "7:3-7:16",
"declaring_type": 0,
@ -74,6 +79,7 @@ OUTPUT:
"usr": "c:usage_inside_of_call.cc@145@F@foo#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "13:7-13:8",
"definition_extent": "13:3-13:12",
"uses": ["13:7-13:8", "14:10-14:11"]

View File

@ -14,6 +14,7 @@ OUTPUT:
"usr": "c:@F@called#I#",
"short_name": "called",
"qualified_name": "called",
"hover": "void (int)",
"declarations": ["1:6-1:12"],
"callers": ["2@6:3-6:9"]
}, {
@ -21,6 +22,7 @@ OUTPUT:
"usr": "c:@F@gen#",
"short_name": "gen",
"qualified_name": "gen",
"hover": "int ()",
"definition_spelling": "3:5-3:8",
"definition_extent": "3:1-3:24",
"callers": ["2@6:10-6:13", "2@6:18-6:21"]
@ -29,6 +31,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "5:6-5:9",
"definition_extent": "5:1-7:2",
"callees": ["0@6:3-6:9", "1@6:10-6:13", "1@6:18-6:21"]

View File

@ -15,6 +15,7 @@ OUTPUT:
"usr": "c:@F@called#",
"short_name": "called",
"qualified_name": "called",
"hover": "void ()",
"definition_spelling": "1:6-1:12",
"definition_extent": "1:1-1:17",
"callers": ["1@4:13-4:19", "1@7:3-7:9"]
@ -23,6 +24,7 @@ OUTPUT:
"usr": "c:@F@caller#",
"short_name": "caller",
"qualified_name": "caller",
"hover": "void ()",
"definition_spelling": "3:6-3:12",
"definition_extent": "3:1-8:2",
"callees": ["0@4:13-4:19", "0@7:3-7:9"]
@ -32,6 +34,7 @@ OUTPUT:
"usr": "c:var_usage_call_function.cc@39@F@caller#@x",
"short_name": "x",
"qualified_name": "x",
"hover": "void (*)()",
"definition_spelling": "4:8-4:9",
"definition_extent": "4:3-4:19",
"uses": ["4:8-4:9", "5:3-5:4"]

View File

@ -36,6 +36,7 @@ OUTPUT:
"usr": "c:@F@accept#I#",
"short_name": "accept",
"qualified_name": "accept",
"hover": "void (int)",
"declarations": ["7:6-7:12"],
"callers": ["2@14:3-14:9", "2@15:3-15:9", "2@17:3-17:9"]
}, {
@ -43,6 +44,7 @@ OUTPUT:
"usr": "c:@F@accept#*I#",
"short_name": "accept",
"qualified_name": "accept",
"hover": "void (int *)",
"declarations": ["8:6-8:12"],
"callers": ["2@16:3-16:9"]
}, {
@ -50,6 +52,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "10:6-10:9",
"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"]
@ -59,6 +62,7 @@ OUTPUT:
"usr": "c:@S@Foo@FI@x",
"short_name": "x",
"qualified_name": "Foo::x",
"hover": "int",
"definition_spelling": "3:7-3:8",
"definition_extent": "3:3-3:8",
"declaring_type": 0,
@ -68,6 +72,7 @@ OUTPUT:
"usr": "c:@S@Foo@FI@y",
"short_name": "y",
"qualified_name": "Foo::y",
"hover": "int",
"definition_spelling": "4:7-4:8",
"definition_extent": "4:3-4:8",
"declaring_type": 0,
@ -77,6 +82,7 @@ OUTPUT:
"usr": "c:var_usage_class_member.cc@105@F@foo#@f",
"short_name": "f",
"qualified_name": "f",
"hover": "Foo",
"definition_spelling": "11:7-11:8",
"definition_extent": "11:3-11:8",
"variable_type": 0,

View File

@ -25,6 +25,7 @@ OUTPUT:
"usr": "c:@F@accept#I#",
"short_name": "accept",
"qualified_name": "accept",
"hover": "void (int)",
"declarations": ["5:6-5:12"],
"callers": ["1@8:3-8:9"]
}, {
@ -32,6 +33,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "7:6-7:9",
"definition_extent": "7:1-9:2",
"callees": ["0@8:3-8:9"]
@ -41,6 +43,7 @@ OUTPUT:
"usr": "c:@S@Foo@x",
"short_name": "x",
"qualified_name": "Foo::x",
"hover": "int",
"declaration": "2:14-2:15",
"uses": ["2:14-2:15", "8:15-8:16"]
}]

View File

@ -34,6 +34,7 @@ OUTPUT:
"usr": "c:@S@Holder@static_var",
"short_name": "static_var",
"qualified_name": "Holder::static_var",
"hover": "const VarType",
"declaration": "4:28-4:38",
"definition_spelling": "7:23-7:33",
"definition_extent": "7:1-7:33",

View File

@ -11,6 +11,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "3:6-3:9",
"definition_extent": "3:1-5:2"
}],
@ -19,6 +20,7 @@ OUTPUT:
"usr": "c:@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"declaration": "1:12-1:13",
"uses": ["1:12-1:13", "4:3-4:4"]
}]

View File

@ -9,6 +9,7 @@ OUTPUT:
"usr": "c:@F@foo#I#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (int)",
"definition_spelling": "1:6-1:9",
"definition_extent": "1:1-3:2"
}],
@ -17,6 +18,7 @@ OUTPUT:
"usr": "c:var_usage_func_parameter.cc@9@F@foo#I#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "1:14-1:15",
"definition_extent": "1:10-1:15",
"uses": ["1:14-1:15", "2:3-2:4"]

View File

@ -10,6 +10,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "1:6-1:9",
"definition_extent": "1:1-4:2"
}],
@ -18,6 +19,7 @@ OUTPUT:
"usr": "c:var_usage_local.cc@16@F@foo#@x",
"short_name": "x",
"qualified_name": "x",
"hover": "int",
"definition_spelling": "2:7-2:8",
"definition_extent": "2:3-2:8",
"uses": ["2:7-2:8", "3:3-3:4"]

View File

@ -15,6 +15,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "1:6-1:9",
"definition_extent": "1:1-9:2"
}],
@ -23,6 +24,7 @@ OUTPUT:
"usr": "c:var_usage_shadowed_local.cc@16@F@foo#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "2:7-2:8",
"definition_extent": "2:3-2:8",
"uses": ["2:7-2:8", "3:3-3:4", "8:3-8:4"]
@ -31,6 +33,7 @@ OUTPUT:
"usr": "c:var_usage_shadowed_local.cc@43@F@foo#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "5:9-5:10",
"definition_extent": "5:5-5:10",
"uses": ["5:9-5:10", "6:5-6:6"]

View File

@ -15,6 +15,7 @@ OUTPUT:
"usr": "c:@F@foo#I#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (int)",
"definition_spelling": "1:6-1:9",
"definition_extent": "1:1-8:2"
}],
@ -23,6 +24,7 @@ OUTPUT:
"usr": "c:var_usage_shadowed_parameter.cc@9@F@foo#I#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "1:14-1:15",
"definition_extent": "1:10-1:15",
"uses": ["1:14-1:15", "2:3-2:4", "7:3-7:4"]
@ -31,6 +33,7 @@ OUTPUT:
"usr": "c:var_usage_shadowed_parameter.cc@38@F@foo#I#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "4:9-4:10",
"definition_extent": "4:5-4:10",
"uses": ["4:9-4:10", "5:5-5:6"]

View File

@ -12,6 +12,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "3:6-3:9",
"definition_extent": "3:1-5:2"
}],
@ -20,6 +21,7 @@ OUTPUT:
"usr": "c:var_usage_static.cc@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "1:12-1:13",
"definition_extent": "1:1-1:13",
"uses": ["1:12-1:13", "4:3-4:4"]

View File

@ -20,6 +20,7 @@ OUTPUT:
"usr": "c:@S@Foo@FI@member",
"short_name": "member",
"qualified_name": "Foo::member",
"hover": "Foo *",
"definition_spelling": "2:8-2:14",
"definition_extent": "2:3-2:14",
"variable_type": 0,

View File

@ -22,6 +22,7 @@ OUTPUT:
"usr": "c:@S@Foo@member",
"short_name": "member",
"qualified_name": "Foo::member",
"hover": "Foo *",
"declaration": "2:15-2:21",
"definition_spelling": "4:11-4:17",
"definition_extent": "4:1-4:27",
@ -30,4 +31,5 @@ OUTPUT:
"uses": ["2:15-2:21", "4:11-4:17"]
}]
}
*/

View File

@ -18,8 +18,10 @@ OUTPUT:
"usr": "c:@S@Foo@member",
"short_name": "member",
"qualified_name": "Foo::member",
"hover": "int",
"declaration": "2:14-2:20",
"uses": ["2:14-2:20"]
}]
}
*/

View File

@ -18,6 +18,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "3:6-3:9",
"definition_extent": "3:1-5:2"
}],
@ -26,6 +27,7 @@ OUTPUT:
"usr": "c:function_local.cc@31@F@foo#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "Foo *",
"definition_spelling": "4:8-4:9",
"definition_extent": "4:3-4:9",
"variable_type": 0,

View File

@ -16,6 +16,7 @@ OUTPUT:
"usr": "c:@F@foo#*$@S@Foo#S0_#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (Foo *, Foo *)",
"definition_spelling": "3:6-3:9",
"definition_extent": "3:1-3:30"
}],
@ -24,6 +25,7 @@ OUTPUT:
"usr": "c:function_param.cc@24@F@foo#*$@S@Foo#S0_#@p0",
"short_name": "p0",
"qualified_name": "p0",
"hover": "Foo *",
"definition_spelling": "3:15-3:17",
"definition_extent": "3:10-3:17",
"variable_type": 0,
@ -33,6 +35,7 @@ OUTPUT:
"usr": "c:function_param.cc@33@F@foo#*$@S@Foo#S0_#@p1",
"short_name": "p1",
"qualified_name": "p1",
"hover": "Foo *",
"definition_spelling": "3:24-3:26",
"definition_extent": "3:19-3:26",
"variable_type": 0,

View File

@ -7,6 +7,7 @@ OUTPUT:
"usr": "c:@F@foo#I#I#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (int, int)",
"definition_spelling": "1:6-1:9",
"definition_extent": "1:1-1:22"
}]

View File

@ -15,6 +15,7 @@ OUTPUT:
"usr": "c:@F@foo#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void ()",
"definition_spelling": "1:6-1:9",
"definition_extent": "1:1-9:2"
}],
@ -23,6 +24,7 @@ OUTPUT:
"usr": "c:function_shadow_local.cc@16@F@foo#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "2:7-2:8",
"definition_extent": "2:3-2:8",
"uses": ["2:7-2:8", "3:3-3:4", "8:3-8:4"]
@ -31,6 +33,7 @@ OUTPUT:
"usr": "c:function_shadow_local.cc@43@F@foo#@a",
"short_name": "a",
"qualified_name": "a",
"hover": "int",
"definition_spelling": "5:9-5:10",
"definition_extent": "5:5-5:10",
"uses": ["5:9-5:10", "6:5-6:6"]

View File

@ -9,6 +9,7 @@ OUTPUT:
"usr": "c:@F@foo#I#",
"short_name": "foo",
"qualified_name": "foo",
"hover": "void (int)",
"definition_spelling": "1:6-1:9",
"definition_extent": "1:1-3:2"
}],
@ -17,6 +18,7 @@ OUTPUT:
"usr": "c:function_shadow_param.cc@9@F@foo#I#@p",
"short_name": "p",
"qualified_name": "p",
"hover": "int",
"definition_spelling": "1:14-1:15",
"definition_extent": "1:10-1:15",
"uses": ["1:14-1:15"]
@ -25,6 +27,7 @@ OUTPUT:
"usr": "c:function_shadow_param.cc@21@F@foo#I#@p",
"short_name": "p",
"qualified_name": "p",
"hover": "int",
"definition_spelling": "2:7-2:8",
"definition_extent": "2:3-2:8",
"uses": ["2:7-2:8"]

View File

@ -7,6 +7,7 @@ OUTPUT:
"usr": "c:global_variable.cc@global",
"short_name": "global",
"qualified_name": "global",
"hover": "int",
"definition_spelling": "1:12-1:18",
"definition_extent": "1:1-1:22",
"uses": ["1:12-1:18"]

View File

@ -7,6 +7,7 @@ OUTPUT:
"usr": "c:@global",
"short_name": "global",
"qualified_name": "global",
"hover": "int",
"declaration": "1:12-1:18",
"uses": ["1:12-1:18"]
}]