mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 01:21:57 +00:00
Update tests for typedef changes.
This commit is contained in:
parent
3d4ebcd7ee
commit
9502c889d2
@ -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,
|
||||||
|
@ -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": [],
|
||||||
|
@ -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": [],
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user