Update tests for typedef changes.

This commit is contained in:
Jacob Dufault 2017-12-18 20:42:17 -08:00
parent 3d4ebcd7ee
commit 9502c889d2
5 changed files with 9 additions and 9 deletions

View File

@ -41,7 +41,7 @@ OUTPUT: header.h
"id": 2, "id": 2,
"usr": "c:@Foo0", "usr": "c:@Foo0",
"short_name": "Foo0", "short_name": "Foo0",
"detailed_name": "Foo0", "detailed_name": "using Foo0 = SameFileDerived",
"definition_spelling": "7:7-7:11", "definition_spelling": "7:7-7:11",
"definition_extent": "7:1-7:29", "definition_extent": "7:1-7:29",
"alias_of": 1, "alias_of": 1,

View File

@ -10,7 +10,7 @@ OUTPUT:
"id": 0, "id": 0,
"usr": "c:typedefs.cc@T@func", "usr": "c:typedefs.cc@T@func",
"short_name": "func", "short_name": "func",
"detailed_name": "func", "detailed_name": "typedef int (func)(const int *a, const int *b)",
"definition_spelling": "1:14-1:18", "definition_spelling": "1:14-1:18",
"definition_extent": "1:1-1:47", "definition_extent": "1:1-1:47",
"parents": [], "parents": [],

View File

@ -30,7 +30,7 @@ OUTPUT:
"id": 1, "id": 1,
"usr": "c:@Foo1", "usr": "c:@Foo1",
"short_name": "Foo1", "short_name": "Foo1",
"detailed_name": "Foo1", "detailed_name": "using Foo1 = Foo*",
"definition_spelling": "2:7-2:11", "definition_spelling": "2:7-2:11",
"definition_extent": "2:1-2:18", "definition_extent": "2:1-2:18",
"alias_of": 0, "alias_of": 0,
@ -45,7 +45,7 @@ OUTPUT:
"id": 2, "id": 2,
"usr": "c:type_usage_typedef_and_using.cc@T@Foo2", "usr": "c:type_usage_typedef_and_using.cc@T@Foo2",
"short_name": "Foo2", "short_name": "Foo2",
"detailed_name": "Foo2", "detailed_name": "typedef Foo Foo2",
"definition_spelling": "3:13-3:17", "definition_spelling": "3:13-3:17",
"definition_extent": "3:1-3:17", "definition_extent": "3:1-3:17",
"alias_of": 0, "alias_of": 0,
@ -60,7 +60,7 @@ OUTPUT:
"id": 3, "id": 3,
"usr": "c:@Foo3", "usr": "c:@Foo3",
"short_name": "Foo3", "short_name": "Foo3",
"detailed_name": "Foo3", "detailed_name": "using Foo3 = Foo1",
"definition_spelling": "4:7-4:11", "definition_spelling": "4:7-4:11",
"definition_extent": "4:1-4:18", "definition_extent": "4:1-4:18",
"alias_of": 1, "alias_of": 1,
@ -75,7 +75,7 @@ OUTPUT:
"id": 4, "id": 4,
"usr": "c:@Foo4", "usr": "c:@Foo4",
"short_name": "Foo4", "short_name": "Foo4",
"detailed_name": "Foo4", "detailed_name": "using Foo4 = int",
"definition_spelling": "5:7-5:11", "definition_spelling": "5:7-5:11",
"definition_extent": "5:1-5:17", "definition_extent": "5:1-5:17",
"parents": [], "parents": [],

View File

@ -25,7 +25,7 @@ OUTPUT:
"id": 1, "id": 1,
"usr": "c:@Foo1", "usr": "c:@Foo1",
"short_name": "Foo1", "short_name": "Foo1",
"detailed_name": "Foo1", "detailed_name": "using Foo1 = Foo<int>",
"definition_spelling": "4:7-4:11", "definition_spelling": "4:7-4:11",
"definition_extent": "4:1-4:22", "definition_extent": "4:1-4:22",
"alias_of": 0, "alias_of": 0,
@ -40,7 +40,7 @@ OUTPUT:
"id": 2, "id": 2,
"usr": "c:type_usage_typedef_and_using_template.cc@T@Foo2", "usr": "c:type_usage_typedef_and_using_template.cc@T@Foo2",
"short_name": "Foo2", "short_name": "Foo2",
"detailed_name": "Foo2", "detailed_name": "typedef Foo<Foo1> Foo2",
"definition_spelling": "5:19-5:23", "definition_spelling": "5:19-5:23",
"definition_extent": "5:1-5:23", "definition_extent": "5:1-5:23",
"alias_of": 0, "alias_of": 0,

View File

@ -29,7 +29,7 @@ OUTPUT:
"id": 1, "id": 1,
"usr": "c:@F", "usr": "c:@F",
"short_name": "F", "short_name": "F",
"detailed_name": "F", "detailed_name": "using F = S",
"definition_spelling": "2:7-2:8", "definition_spelling": "2:7-2:8",
"definition_extent": "2:1-2:12", "definition_extent": "2:1-2:12",
"alias_of": 0, "alias_of": 0,