diff --git a/tests/multi_file/impl.cc b/tests/multi_file/impl.cc index 246e9667..3dc090a6 100644 --- a/tests/multi_file/impl.cc +++ b/tests/multi_file/impl.cc @@ -41,7 +41,7 @@ OUTPUT: header.h "id": 2, "usr": "c:@Foo0", "short_name": "Foo0", - "detailed_name": "Foo0", + "detailed_name": "using Foo0 = SameFileDerived", "definition_spelling": "7:7-7:11", "definition_extent": "7:1-7:29", "alias_of": 1, diff --git a/tests/types/typedefs.cc b/tests/types/typedefs.cc index 5406d264..011082d7 100644 --- a/tests/types/typedefs.cc +++ b/tests/types/typedefs.cc @@ -10,7 +10,7 @@ OUTPUT: "id": 0, "usr": "c:typedefs.cc@T@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_extent": "1:1-1:47", "parents": [], diff --git a/tests/usage/type_usage_typedef_and_using.cc b/tests/usage/type_usage_typedef_and_using.cc index 2e8e5af7..a3193fad 100644 --- a/tests/usage/type_usage_typedef_and_using.cc +++ b/tests/usage/type_usage_typedef_and_using.cc @@ -30,7 +30,7 @@ OUTPUT: "id": 1, "usr": "c:@Foo1", "short_name": "Foo1", - "detailed_name": "Foo1", + "detailed_name": "using Foo1 = Foo*", "definition_spelling": "2:7-2:11", "definition_extent": "2:1-2:18", "alias_of": 0, @@ -45,7 +45,7 @@ OUTPUT: "id": 2, "usr": "c:type_usage_typedef_and_using.cc@T@Foo2", "short_name": "Foo2", - "detailed_name": "Foo2", + "detailed_name": "typedef Foo Foo2", "definition_spelling": "3:13-3:17", "definition_extent": "3:1-3:17", "alias_of": 0, @@ -60,7 +60,7 @@ OUTPUT: "id": 3, "usr": "c:@Foo3", "short_name": "Foo3", - "detailed_name": "Foo3", + "detailed_name": "using Foo3 = Foo1", "definition_spelling": "4:7-4:11", "definition_extent": "4:1-4:18", "alias_of": 1, @@ -75,7 +75,7 @@ OUTPUT: "id": 4, "usr": "c:@Foo4", "short_name": "Foo4", - "detailed_name": "Foo4", + "detailed_name": "using Foo4 = int", "definition_spelling": "5:7-5:11", "definition_extent": "5:1-5:17", "parents": [], diff --git a/tests/usage/type_usage_typedef_and_using_template.cc b/tests/usage/type_usage_typedef_and_using_template.cc index 3583fbf6..d7fa7cb5 100644 --- a/tests/usage/type_usage_typedef_and_using_template.cc +++ b/tests/usage/type_usage_typedef_and_using_template.cc @@ -25,7 +25,7 @@ OUTPUT: "id": 1, "usr": "c:@Foo1", "short_name": "Foo1", - "detailed_name": "Foo1", + "detailed_name": "using Foo1 = Foo", "definition_spelling": "4:7-4:11", "definition_extent": "4:1-4:22", "alias_of": 0, @@ -40,7 +40,7 @@ OUTPUT: "id": 2, "usr": "c:type_usage_typedef_and_using_template.cc@T@Foo2", "short_name": "Foo2", - "detailed_name": "Foo2", + "detailed_name": "typedef Foo Foo2", "definition_spelling": "5:19-5:23", "definition_extent": "5:1-5:23", "alias_of": 0, diff --git a/tests/vars/type_instance_on_using_type.cc b/tests/vars/type_instance_on_using_type.cc index 5e2f7d77..00b56529 100644 --- a/tests/vars/type_instance_on_using_type.cc +++ b/tests/vars/type_instance_on_using_type.cc @@ -29,7 +29,7 @@ OUTPUT: "id": 1, "usr": "c:@F", "short_name": "F", - "detailed_name": "F", + "detailed_name": "using F = S", "definition_spelling": "2:7-2:8", "definition_extent": "2:1-2:12", "alias_of": 0,