Update tests

This commit is contained in:
Jacob Dufault 2017-12-11 21:06:27 -08:00
parent fb902a29b7
commit 1dc7087f21
24 changed files with 76 additions and 0 deletions

View File

@ -91,26 +91,38 @@ OUTPUT: make_functions.cc
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:make_functions.cc@41", "usr": "c:make_functions.cc@41",
"short_name": "",
"detailed_name": "",
"uses": ["4:1-4:2"] "uses": ["4:1-4:2"]
}, { }, {
"id": 1, "id": 1,
"usr": "c:make_functions.cc@53", "usr": "c:make_functions.cc@53",
"short_name": "",
"detailed_name": "",
"uses": ["4:15-4:19"] "uses": ["4:15-4:19"]
}, { }, {
"id": 2, "id": 2,
"usr": "c:make_functions.cc@139", "usr": "c:make_functions.cc@139",
"short_name": "",
"detailed_name": "",
"uses": ["9:1-9:2"] "uses": ["9:1-9:2"]
}, { }, {
"id": 3, "id": 3,
"usr": "c:make_functions.cc@151", "usr": "c:make_functions.cc@151",
"short_name": "",
"detailed_name": "",
"uses": ["9:16-9:20"] "uses": ["9:16-9:20"]
}, { }, {
"id": 4, "id": 4,
"usr": "c:@S@Foobar", "usr": "c:@S@Foobar",
"short_name": "",
"detailed_name": "",
"uses": ["14:14-14:20", "15:14-15:20", "16:14-16:20", "17:15-17:21"] "uses": ["14:14-14:20", "15:14-15:20", "16:14-16:20", "17:15-17:21"]
}, { }, {
"id": 5, "id": 5,
"usr": "c:@S@Bar", "usr": "c:@S@Bar",
"short_name": "",
"detailed_name": "",
"uses": ["16:29-16:32", "17:30-17:33"] "uses": ["16:29-16:32", "17:30-17:33"]
}], }],
"funcs": [{ "funcs": [{
@ -144,21 +156,29 @@ OUTPUT: make_functions.cc
"id": 3, "id": 3,
"is_operator": false, "is_operator": false,
"usr": "c:@S@Foobar@F@Foobar#", "usr": "c:@S@Foobar@F@Foobar#",
"short_name": "",
"detailed_name": "",
"callers": ["~-1@14:3-14:13"] "callers": ["~-1@14:3-14:13"]
}, { }, {
"id": 4, "id": 4,
"is_operator": false, "is_operator": false,
"usr": "c:@S@Foobar@F@Foobar#I#", "usr": "c:@S@Foobar@F@Foobar#I#",
"short_name": "",
"detailed_name": "",
"callers": ["~-1@15:3-15:13"] "callers": ["~-1@15:3-15:13"]
}, { }, {
"id": 5, "id": 5,
"is_operator": false, "is_operator": false,
"usr": "c:@S@Foobar@F@Foobar#&&I#*$@S@Bar#*b#", "usr": "c:@S@Foobar@F@Foobar#&&I#*$@S@Bar#*b#",
"short_name": "",
"detailed_name": "",
"callers": ["~-1@16:3-16:13"] "callers": ["~-1@16:3-16:13"]
}, { }, {
"id": 6, "id": 6,
"is_operator": false, "is_operator": false,
"usr": "c:@S@Foobar@F@Foobar#I#*$@S@Bar#*b#", "usr": "c:@S@Foobar@F@Foobar#I#*$@S@Bar#*b#",
"short_name": "",
"detailed_name": "",
"callers": ["~-1@17:3-17:14"] "callers": ["~-1@17:3-17:14"]
}], }],
"vars": [{ "vars": [{

View File

@ -56,6 +56,8 @@ OUTPUT:
}, { }, {
"id": 4, "id": 4,
"usr": "c:class_inherit_templated_parent.cc@154", "usr": "c:class_inherit_templated_parent.cc@154",
"short_name": "",
"detailed_name": "",
"uses": ["11:24-11:25"] "uses": ["11:24-11:25"]
}, { }, {
"id": 5, "id": 5,

View File

@ -11,6 +11,8 @@ OUTPUT: funky_enum.h
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@E@Foo", "usr": "c:@E@Foo",
"short_name": "",
"detailed_name": "",
"vars": [0, 1, 2] "vars": [0, 1, 2]
}], }],
"vars": [{ "vars": [{

View File

@ -138,6 +138,8 @@ OUTPUT: impl.cc
"id": 1, "id": 1,
"is_operator": false, "is_operator": false,
"usr": "c:@FT@>1#TFoo1#v#", "usr": "c:@FT@>1#TFoo1#v#",
"short_name": "",
"detailed_name": "",
"callers": ["0@4:3-4:7"] "callers": ["0@4:3-4:7"]
}] }]
} }

View File

@ -39,6 +39,8 @@ OUTPUT: simple_impl.cc
"id": 1, "id": 1,
"is_operator": false, "is_operator": false,
"usr": "c:@F@header#", "usr": "c:@F@header#",
"short_name": "",
"detailed_name": "",
"callers": ["0@4:3-4:9"] "callers": ["0@4:3-4:9"]
}] }]
} }

View File

@ -38,6 +38,8 @@ OUTPUT: static.cc
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@Buffer", "usr": "c:@S@Buffer",
"short_name": "",
"detailed_name": "",
"funcs": [0], "funcs": [0],
"uses": ["3:6-3:12"] "uses": ["3:6-3:12"]
}], }],

View File

@ -25,6 +25,8 @@ OUTPUT:
}, { }, {
"id": 1, "id": 1,
"usr": "c:@N@std@ST>2#T#T@vector", "usr": "c:@N@std@ST>2#T#T@vector",
"short_name": "",
"detailed_name": "",
"instances": [2], "instances": [2],
"uses": ["6:8-6:14"] "uses": ["6:8-6:14"]
}], }],

View File

@ -33,11 +33,15 @@ OUTPUT:
}, { }, {
"id": 1, "id": 1,
"usr": "c:@N@std@T@string", "usr": "c:@N@std@T@string",
"short_name": "",
"detailed_name": "",
"instances": [0, 1], "instances": [0, 1],
"uses": ["7:8-7:14", "8:8-8:14", "9:20-9:26"] "uses": ["7:8-7:14", "8:8-8:14", "9:20-9:26"]
}, { }, {
"id": 2, "id": 2,
"usr": "c:@N@std@ST>2#T#T@vector", "usr": "c:@N@std@ST>2#T#T@vector",
"short_name": "",
"detailed_name": "",
"instances": [2], "instances": [2],
"uses": ["9:8-9:14", "12:6-12:12"] "uses": ["9:8-9:14", "12:6-12:12"]
}], }],

View File

@ -12,6 +12,8 @@ OUTPUT: static_function_in_type.h
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@N@ns@S@Manager", "usr": "c:@N@ns@S@Manager",
"short_name": "",
"detailed_name": "",
"uses": ["3:7-3:14", "6:24-6:31"] "uses": ["3:7-3:14", "6:24-6:31"]
}, { }, {
"id": 1, "id": 1,
@ -47,11 +49,15 @@ OUTPUT: static_function_in_type.cc
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@N@ns@S@Foo", "usr": "c:@N@ns@S@Foo",
"short_name": "",
"detailed_name": "",
"funcs": [0], "funcs": [0],
"uses": ["5:6-5:9"] "uses": ["5:6-5:9"]
}, { }, {
"id": 1, "id": 1,
"usr": "c:@N@ns@S@Manager", "usr": "c:@N@ns@S@Manager",
"short_name": "",
"detailed_name": "",
"instances": [0], "instances": [0],
"uses": ["5:20-5:27"] "uses": ["5:20-5:27"]
}], }],

View File

@ -50,6 +50,8 @@ OUTPUT:
}, { }, {
"id": 2, "id": 2,
"usr": "c:template_var_usage_folded_into_one.cc@35", "usr": "c:template_var_usage_folded_into_one.cc@35",
"short_name": "",
"detailed_name": "",
"uses": ["5:1-5:2"] "uses": ["5:1-5:2"]
}], }],
"vars": [{ "vars": [{

View File

@ -16,6 +16,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@ST>1#T@unique_ptr", "usr": "c:@ST>1#T@unique_ptr",
"short_name": "",
"detailed_name": "",
"instances": [0, 1, 2], "instances": [0, 1, 2],
"uses": ["2:7-2:17", "6:8-6:18", "7:8-7:18", "9:1-9:11", "10:3-10:13"] "uses": ["2:7-2:17", "6:8-6:18", "7:8-7:18", "9:1-9:11", "10:3-10:13"]
}, { }, {

View File

@ -85,15 +85,21 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@ST>2#T#T@unique_ptr", "usr": "c:@ST>2#T#T@unique_ptr",
"short_name": "",
"detailed_name": "",
"instances": [0, 1], "instances": [0, 1],
"uses": ["2:7-2:17", "15:8-15:18", "15:19-15:29", "33:1-33:11", "33:12-33:22", "33:52-33:62", "54:3-54:13", "54:14-54:24", "65:3-65:13", "79:1-79:11"] "uses": ["2:7-2:17", "15:8-15:18", "15:19-15:29", "33:1-33:11", "33:12-33:22", "33:52-33:62", "54:3-54:13", "54:14-54:24", "65:3-65:13", "79:1-79:11"]
}, { }, {
"id": 1, "id": 1,
"usr": "c:@S@S1", "usr": "c:@S@S1",
"short_name": "",
"detailed_name": "",
"uses": ["4:8-4:10", "15:30-15:32", "33:23-33:25", "33:63-33:65", "54:25-54:27", "65:14-65:16", "79:12-79:14"] "uses": ["4:8-4:10", "15:30-15:32", "33:23-33:25", "33:63-33:65", "54:25-54:27", "65:14-65:16", "79:12-79:14"]
}, { }, {
"id": 2, "id": 2,
"usr": "c:@S@S2", "usr": "c:@S@S2",
"short_name": "",
"detailed_name": "",
"uses": ["5:8-5:10", "15:34-15:36", "15:39-15:41", "33:27-33:29", "33:32-33:34", "33:67-33:69", "54:29-54:31", "54:34-54:36", "65:18-65:20", "79:16-79:18"] "uses": ["5:8-5:10", "15:34-15:36", "15:39-15:41", "33:27-33:29", "33:32-33:34", "33:67-33:69", "54:29-54:31", "54:34-54:36", "65:18-65:20", "79:16-79:18"]
}, { }, {
"id": 3, "id": 3,

View File

@ -20,6 +20,8 @@ OUTPUT:
}, { }, {
"id": 1, "id": 1,
"usr": "c:@S@S", "usr": "c:@S@S",
"short_name": "",
"detailed_name": "",
"uses": ["4:8-4:9", "6:19-6:20"] "uses": ["4:8-4:9", "6:19-6:20"]
}], }],
"vars": [{ "vars": [{

View File

@ -12,6 +12,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@ForwardType", "usr": "c:@S@ForwardType",
"short_name": "",
"detailed_name": "",
"instances": [0], "instances": [0],
"uses": ["1:8-1:19", "5:3-5:14"] "uses": ["1:8-1:19", "5:3-5:14"]
}, { }, {

View File

@ -12,6 +12,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@ForwardType", "usr": "c:@S@ForwardType",
"short_name": "",
"detailed_name": "",
"instances": [0], "instances": [0],
"uses": ["1:8-1:19", "5:3-5:14"] "uses": ["1:8-1:19", "5:3-5:14"]
}, { }, {

View File

@ -9,6 +9,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@ForwardType", "usr": "c:@S@ForwardType",
"short_name": "",
"detailed_name": "",
"instances": [0], "instances": [0],
"uses": ["1:8-1:19", "4:10-4:21"] "uses": ["1:8-1:19", "4:10-4:21"]
}, { }, {

View File

@ -14,6 +14,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@Foo", "usr": "c:@S@Foo",
"short_name": "",
"detailed_name": "",
"instances": [0], "instances": [0],
"uses": ["1:8-1:11", "3:10-3:13", "3:18-3:21", "4:10-4:13", "4:18-4:21"] "uses": ["1:8-1:11", "3:10-3:13", "3:18-3:21", "4:10-4:13", "4:18-4:21"]
}], }],

View File

@ -6,6 +6,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@ForwardType", "usr": "c:@S@ForwardType",
"short_name": "",
"detailed_name": "",
"uses": ["1:8-1:19", "2:10-2:21"] "uses": ["1:8-1:19", "2:10-2:21"]
}], }],
"funcs": [{ "funcs": [{

View File

@ -6,6 +6,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@Type", "usr": "c:@S@Type",
"short_name": "",
"detailed_name": "",
"instances": [0], "instances": [0],
"uses": ["1:8-1:12", "2:8-2:12"] "uses": ["1:8-1:12", "2:8-2:12"]
}], }],

View File

@ -23,6 +23,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@Type", "usr": "c:@S@Type",
"short_name": "",
"detailed_name": "",
"uses": ["1:8-1:12", "3:1-3:5", "4:1-4:5", "5:1-5:5", "8:3-8:7", "12:1-12:5", "15:14-15:18", "17:8-17:12", "18:8-18:12"] "uses": ["1:8-1:12", "3:1-3:5", "4:1-4:5", "5:1-5:5", "8:3-8:7", "12:1-12:5", "15:14-15:18", "17:8-17:12", "18:8-18:12"]
}, { }, {
"id": 1, "id": 1,

View File

@ -15,6 +15,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@Foo", "usr": "c:@S@Foo",
"short_name": "",
"detailed_name": "",
"uses": ["1:8-1:11", "2:14-2:17", "3:9-3:12", "7:13-7:16"] "uses": ["1:8-1:11", "2:14-2:17", "3:9-3:12", "7:13-7:16"]
}, { }, {
"id": 1, "id": 1,

View File

@ -10,6 +10,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@ST>1#T@Foo", "usr": "c:@ST>1#T@Foo",
"short_name": "",
"detailed_name": "",
"uses": ["2:8-2:11", "4:14-4:17", "5:9-5:12"] "uses": ["2:8-2:11", "4:14-4:17", "5:9-5:12"]
}, { }, {
"id": 1, "id": 1,

View File

@ -10,6 +10,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@Foo", "usr": "c:@S@Foo",
"short_name": "",
"detailed_name": "",
"instances": [0], "instances": [0],
"uses": ["1:8-1:11", "4:3-4:6"] "uses": ["1:8-1:11", "4:3-4:6"]
}], }],

View File

@ -8,6 +8,8 @@ OUTPUT:
"types": [{ "types": [{
"id": 0, "id": 0,
"usr": "c:@S@Foo", "usr": "c:@S@Foo",
"short_name": "",
"detailed_name": "",
"instances": [0, 1], "instances": [0, 1],
"uses": ["1:8-1:11", "3:10-3:13", "3:19-3:22"] "uses": ["1:8-1:11", "3:10-3:13", "3:19-3:22"]
}], }],