From 9d4cf2a351f0a2ae4c3965995f1a6ecc1e363e7f Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 22 Dec 2017 14:56:16 -0800 Subject: [PATCH] Update tests --- tests/class_forward_declaration.cc | 1 - tests/constructors/constructor.cc | 3 --- tests/constructors/destructor.cc | 2 -- tests/constructors/implicit_constructor.cc | 3 --- tests/constructors/invalid_reference.cc | 1 - tests/constructors/make_functions.cc | 14 ----------- tests/declaration_vs_definition/class.cc | 1 - .../declaration_vs_definition/class_member.cc | 2 -- .../class_member_static.cc | 2 -- .../func_associated_function_params.cc | 2 -- tests/declaration_vs_definition/method.cc | 1 - tests/enums/enum_class_decl.cc | 7 ++---- tests/enums/enum_decl.cc | 7 ++---- tests/enums/enum_inherit.cc | 7 ++---- tests/enums/enum_usage.cc | 8 ++----- tests/foobar.cc | 6 ----- tests/inheritance/class_inherit.cc | 2 -- .../class_inherit_templated_parent.cc | 6 ----- tests/inheritance/class_multiple_inherit.cc | 4 ---- tests/inheritance/function_override.cc | 2 -- tests/inheritance/interface_pure_virtual.cc | 1 - tests/inheritance/multiple_base_functions.cc | 3 --- tests/lambdas/lambda.cc | 5 ---- tests/macros/complex.cc | 1 - tests/macros/foo.cc | 24 +++++++++++++++---- tests/method_declaration.cc | 1 - tests/method_inline_declaration.cc | 1 - tests/namespaces/method_declaration.cc | 1 - tests/namespaces/method_definition.cc | 1 - tests/namespaces/method_inline_declaration.cc | 1 - tests/namespaces/namespace_alias.cc | 3 --- tests/namespaces/namespace_reference.cc | 2 -- tests/operators/operator.cc | 1 - tests/outline/static_function_in_type.cc | 5 ---- .../func_specialized_template_param.cc | 2 -- .../implicit_variable_instantiation.cc | 5 ---- ...ass_template_func_usage_folded_into_one.cc | 3 --- ...ace_template_type_usage_folded_into_one.cc | 3 --- .../templates/specialized_func_definition.cc | 1 - ...mplate_class_func_usage_folded_into_one.cc | 3 --- ...ass_template_func_usage_folded_into_one.cc | 3 --- ...mplate_class_type_usage_folded_into_one.cc | 6 ----- ...emplate_class_var_usage_folded_into_one.cc | 4 ---- .../template_func_usage_folded_into_one.cc | 2 -- .../template_type_usage_folded_into_one.cc | 3 --- .../template_var_usage_folded_into_one.cc | 6 ----- tests/types/anonymous_struct.cc | 6 ----- tests/unions/union_decl.cc | 3 --- tests/unions/union_usage.cc | 4 ---- tests/usage/func_called_from_constructor.cc | 1 - tests/usage/func_called_implicit_ctor.cc | 1 - tests/usage/func_usage_addr_func.cc | 1 - tests/usage/func_usage_addr_method.cc | 2 -- tests/usage/func_usage_call_method.cc | 2 -- .../usage/func_usage_class_inline_var_def.cc | 2 -- tests/usage/func_usage_forward_decl_method.cc | 2 -- .../usage/type_usage_as_template_parameter.cc | 5 ---- ...ype_usage_as_template_parameter_complex.cc | 6 ----- ...type_usage_as_template_parameter_simple.cc | 3 --- tests/usage/type_usage_declare_extern.cc | 2 -- tests/usage/type_usage_declare_field.cc | 5 ---- tests/usage/type_usage_declare_local.cc | 4 ---- tests/usage/type_usage_declare_param.cc | 4 ---- .../type_usage_declare_param_prototype.cc | 2 -- .../usage/type_usage_declare_param_unnamed.cc | 1 - tests/usage/type_usage_declare_qualifiers.cc | 7 ------ tests/usage/type_usage_declare_static.cc | 2 -- tests/usage/type_usage_on_return_type.cc | 2 -- tests/usage/type_usage_typedef_and_using.cc | 1 - .../type_usage_typedef_and_using_template.cc | 1 - tests/usage/type_usage_various.cc | 3 --- tests/usage/usage_inside_of_call.cc | 4 ---- tests/usage/var_usage_call_function.cc | 1 - tests/usage/var_usage_class_member.cc | 4 ---- tests/usage/var_usage_class_member_static.cc | 2 -- tests/usage/var_usage_cstyle_cast.cc | 3 --- tests/usage/var_usage_extern.cc | 1 - tests/usage/var_usage_func_parameter.cc | 1 - tests/usage/var_usage_local.cc | 1 - tests/usage/var_usage_shadowed_local.cc | 2 -- tests/usage/var_usage_shadowed_parameter.cc | 2 -- tests/usage/var_usage_static.cc | 1 - tests/vars/class_member.cc | 2 -- tests/vars/class_static_member.cc | 2 -- tests/vars/class_static_member_decl_only.cc | 2 -- tests/vars/deduce_auto_type.cc | 3 --- tests/vars/function_local.cc | 2 -- tests/vars/function_param.cc | 3 --- tests/vars/function_shadow_local.cc | 2 -- tests/vars/function_shadow_param.cc | 2 -- tests/vars/global_variable.cc | 1 - tests/vars/global_variable_decl_only.cc | 1 - tests/vars/type_instance_on_using_type.cc | 2 -- 93 files changed, 27 insertions(+), 261 deletions(-) diff --git a/tests/class_forward_declaration.cc b/tests/class_forward_declaration.cc index d4041ab6..3c66a1f8 100644 --- a/tests/class_forward_declaration.cc +++ b/tests/class_forward_declaration.cc @@ -13,7 +13,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "3:7-3:10", "definition_extent": "3:1-3:13", "parents": [], diff --git a/tests/constructors/constructor.cc b/tests/constructors/constructor.cc index 0cbc247e..ed8a8677 100644 --- a/tests/constructors/constructor.cc +++ b/tests/constructors/constructor.cc @@ -18,7 +18,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-4:2", "parents": [], @@ -66,7 +65,6 @@ OUTPUT: "usr": "c:constructor.cc@56@F@foo#@f", "short_name": "f", "detailed_name": "Foo f", - "hover": "Foo", "definition_spelling": "7:7-7:8", "definition_extent": "7:3-7:8", "variable_type": 0, @@ -78,7 +76,6 @@ OUTPUT: "usr": "c:constructor.cc@66@F@foo#@f2", "short_name": "f2", "detailed_name": "Foo * f2", - "hover": "Foo *", "definition_spelling": "8:8-8:10", "definition_extent": "8:3-8:22", "variable_type": 0, diff --git a/tests/constructors/destructor.cc b/tests/constructors/destructor.cc index f7daa1d9..38150b00 100644 --- a/tests/constructors/destructor.cc +++ b/tests/constructors/destructor.cc @@ -23,7 +23,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-5:2", "parents": [], @@ -87,7 +86,6 @@ OUTPUT: "usr": "c:destructor.cc@70@F@foo#@f", "short_name": "f", "detailed_name": "Foo f", - "hover": "Foo", "definition_spelling": "8:7-8:8", "definition_extent": "8:3-8:8", "variable_type": 0, diff --git a/tests/constructors/implicit_constructor.cc b/tests/constructors/implicit_constructor.cc index 93724b4c..d21b1d21 100644 --- a/tests/constructors/implicit_constructor.cc +++ b/tests/constructors/implicit_constructor.cc @@ -17,7 +17,6 @@ OUTPUT: "usr": "c:@S@Type", "short_name": "Type", "detailed_name": "Type", - "hover": "Type", "definition_spelling": "1:8-1:12", "definition_extent": "1:1-3:2", "parents": [], @@ -65,7 +64,6 @@ OUTPUT: "usr": "c:implicit_constructor.cc@51@F@Make#@foo0", "short_name": "foo0", "detailed_name": "Type foo0", - "hover": "Type", "definition_spelling": "6:8-6:12", "definition_extent": "6:3-6:12", "variable_type": 0, @@ -77,7 +75,6 @@ OUTPUT: "usr": "c:implicit_constructor.cc@65@F@Make#@foo1", "short_name": "foo1", "detailed_name": "Type foo1", - "hover": "Type", "definition_spelling": "7:8-7:12", "definition_extent": "7:3-7:21", "variable_type": 0, diff --git a/tests/constructors/invalid_reference.cc b/tests/constructors/invalid_reference.cc index f54cdf0a..47bf34c2 100644 --- a/tests/constructors/invalid_reference.cc +++ b/tests/constructors/invalid_reference.cc @@ -17,7 +17,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:8-1:11", "definition_extent": "1:1-1:14", "parents": [], diff --git a/tests/constructors/make_functions.cc b/tests/constructors/make_functions.cc index a075f84c..7be5898a 100644 --- a/tests/constructors/make_functions.cc +++ b/tests/constructors/make_functions.cc @@ -33,7 +33,6 @@ OUTPUT: make_functions.h "usr": "c:@S@Bar", "short_name": "Bar", "detailed_name": "Bar", - "hover": "Bar", "definition_spelling": "1:8-1:11", "definition_extent": "1:1-1:14", "parents": [], @@ -48,7 +47,6 @@ OUTPUT: make_functions.h "usr": "c:@S@Foobar", "short_name": "Foobar", "detailed_name": "Foobar", - "hover": "Foobar", "definition_spelling": "3:7-3:13", "definition_extent": "3:1-9:2", "parents": [], @@ -138,7 +136,6 @@ OUTPUT: make_functions.cc "usr": "c:make_functions.cc@41", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -151,7 +148,6 @@ OUTPUT: make_functions.cc "usr": "c:make_functions.cc@53", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -164,7 +160,6 @@ OUTPUT: make_functions.cc "usr": "c:make_functions.cc@139", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -177,7 +172,6 @@ OUTPUT: make_functions.cc "usr": "c:make_functions.cc@151", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -190,7 +184,6 @@ OUTPUT: make_functions.cc "usr": "c:@S@Foobar", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -203,7 +196,6 @@ OUTPUT: make_functions.cc "usr": "c:@S@Bar", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -263,7 +255,6 @@ OUTPUT: make_functions.cc "usr": "c:@S@Foobar@F@Foobar#", "short_name": "", "detailed_name": "", - "hover": "", "declarations": [], "base": [], "derived": [], @@ -276,7 +267,6 @@ OUTPUT: make_functions.cc "usr": "c:@S@Foobar@F@Foobar#I#", "short_name": "", "detailed_name": "", - "hover": "", "declarations": [], "base": [], "derived": [], @@ -289,7 +279,6 @@ OUTPUT: make_functions.cc "usr": "c:@S@Foobar@F@Foobar#&&I#*$@S@Bar#*b#", "short_name": "", "detailed_name": "", - "hover": "", "declarations": [], "base": [], "derived": [], @@ -302,7 +291,6 @@ OUTPUT: make_functions.cc "usr": "c:@S@Foobar@F@Foobar#I#*$@S@Bar#*b#", "short_name": "", "detailed_name": "", - "hover": "", "declarations": [], "base": [], "derived": [], @@ -315,7 +303,6 @@ OUTPUT: make_functions.cc "usr": "c:make_functions.cc@86@FT@>2#T#pTMakeUnique#P&&t0.1#*t0.0#@args", "short_name": "args", "detailed_name": "Args &&... args", - "hover": "Args &&...", "definition_spelling": "4:25-4:29", "definition_extent": "4:15-4:29", "is_local": true, @@ -326,7 +313,6 @@ OUTPUT: make_functions.cc "usr": "c:make_functions.cc@185@FT@>2#T#pTmaKE_NoRefs#Pt0.1#*t0.0#@args", "short_name": "args", "detailed_name": "Args... args", - "hover": "Args...", "definition_spelling": "9:24-9:28", "definition_extent": "9:16-9:28", "is_local": true, diff --git a/tests/declaration_vs_definition/class.cc b/tests/declaration_vs_definition/class.cc index dffcbd3b..2470c80d 100644 --- a/tests/declaration_vs_definition/class.cc +++ b/tests/declaration_vs_definition/class.cc @@ -15,7 +15,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "3:7-3:10", "definition_extent": "3:1-3:13", "parents": [], diff --git a/tests/declaration_vs_definition/class_member.cc b/tests/declaration_vs_definition/class_member.cc index 6b2dbc1a..2c4e5845 100644 --- a/tests/declaration_vs_definition/class_member.cc +++ b/tests/declaration_vs_definition/class_member.cc @@ -12,7 +12,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-3:2", "parents": [], @@ -29,7 +28,6 @@ OUTPUT: "usr": "c:@S@Foo@FI@foo", "short_name": "foo", "detailed_name": "int Foo::foo", - "hover": "int", "definition_spelling": "2:7-2:10", "definition_extent": "2:3-2:10", "declaring_type": 0, diff --git a/tests/declaration_vs_definition/class_member_static.cc b/tests/declaration_vs_definition/class_member_static.cc index 0142665e..77b92ee6 100644 --- a/tests/declaration_vs_definition/class_member_static.cc +++ b/tests/declaration_vs_definition/class_member_static.cc @@ -14,7 +14,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-3:2", "parents": [], @@ -31,7 +30,6 @@ OUTPUT: "usr": "c:@S@Foo@foo", "short_name": "foo", "detailed_name": "int Foo::foo", - "hover": "int", "declaration": "2:14-2:17", "definition_spelling": "5:10-5:13", "definition_extent": "5:1-5:13", diff --git a/tests/declaration_vs_definition/func_associated_function_params.cc b/tests/declaration_vs_definition/func_associated_function_params.cc index c352be3e..3e55be9a 100644 --- a/tests/declaration_vs_definition/func_associated_function_params.cc +++ b/tests/declaration_vs_definition/func_associated_function_params.cc @@ -46,7 +46,6 @@ OUTPUT: "usr": "c:func_associated_function_params.cc@91@F@foo#I#I#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "5:13-5:14", "definition_extent": "5:9-5:14", "is_local": true, @@ -57,7 +56,6 @@ OUTPUT: "usr": "c:func_associated_function_params.cc@98@F@foo#I#I#@b", "short_name": "b", "detailed_name": "int b", - "hover": "int", "definition_spelling": "5:20-5:21", "definition_extent": "5:16-5:21", "is_local": true, diff --git a/tests/declaration_vs_definition/method.cc b/tests/declaration_vs_definition/method.cc index b7eed507..1432c538 100644 --- a/tests/declaration_vs_definition/method.cc +++ b/tests/declaration_vs_definition/method.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-5:2", "parents": [], diff --git a/tests/enums/enum_class_decl.cc b/tests/enums/enum_class_decl.cc index 522be559..a027e3e2 100644 --- a/tests/enums/enum_class_decl.cc +++ b/tests/enums/enum_class_decl.cc @@ -13,7 +13,6 @@ OUTPUT: "usr": "c:@E@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:12-1:15", "definition_extent": "1:1-4:2", "parents": [], @@ -29,8 +28,7 @@ OUTPUT: "id": 0, "usr": "c:@E@Foo@A", "short_name": "A", - "detailed_name": "Foo Foo::A", - "hover": "Foo", + "detailed_name": "Foo::A", "definition_spelling": "2:3-2:4", "definition_extent": "2:3-2:4", "variable_type": 0, @@ -42,8 +40,7 @@ OUTPUT: "id": 1, "usr": "c:@E@Foo@B", "short_name": "B", - "detailed_name": "Foo Foo::B", - "hover": "Foo", + "detailed_name": "Foo::B", "definition_spelling": "3:3-3:4", "definition_extent": "3:3-3:9", "variable_type": 0, diff --git a/tests/enums/enum_decl.cc b/tests/enums/enum_decl.cc index cb61eb61..3ecd6dd6 100644 --- a/tests/enums/enum_decl.cc +++ b/tests/enums/enum_decl.cc @@ -13,7 +13,6 @@ OUTPUT: "usr": "c:@E@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:6-1:9", "definition_extent": "1:1-4:2", "parents": [], @@ -29,8 +28,7 @@ OUTPUT: "id": 0, "usr": "c:@E@Foo@A", "short_name": "A", - "detailed_name": "Foo Foo::A", - "hover": "Foo", + "detailed_name": "Foo::A", "definition_spelling": "2:3-2:4", "definition_extent": "2:3-2:4", "variable_type": 0, @@ -42,8 +40,7 @@ OUTPUT: "id": 1, "usr": "c:@E@Foo@B", "short_name": "B", - "detailed_name": "Foo Foo::B", - "hover": "Foo", + "detailed_name": "Foo::B", "definition_spelling": "3:3-3:4", "definition_extent": "3:3-3:9", "variable_type": 0, diff --git a/tests/enums/enum_inherit.cc b/tests/enums/enum_inherit.cc index 2ef63dd1..afddfb32 100644 --- a/tests/enums/enum_inherit.cc +++ b/tests/enums/enum_inherit.cc @@ -13,7 +13,6 @@ OUTPUT: "usr": "c:@E@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:6-1:9", "definition_extent": "1:1-4:2", "parents": [], @@ -29,8 +28,7 @@ OUTPUT: "id": 0, "usr": "c:@E@Foo@A", "short_name": "A", - "detailed_name": "Foo Foo::A", - "hover": "Foo", + "detailed_name": "Foo::A", "definition_spelling": "2:3-2:4", "definition_extent": "2:3-2:4", "variable_type": 0, @@ -42,8 +40,7 @@ OUTPUT: "id": 1, "usr": "c:@E@Foo@B", "short_name": "B", - "detailed_name": "Foo Foo::B", - "hover": "Foo", + "detailed_name": "Foo::B", "definition_spelling": "3:3-3:4", "definition_extent": "3:3-3:9", "variable_type": 0, diff --git a/tests/enums/enum_usage.cc b/tests/enums/enum_usage.cc index ff0058b6..f58e3d4e 100644 --- a/tests/enums/enum_usage.cc +++ b/tests/enums/enum_usage.cc @@ -15,7 +15,6 @@ OUTPUT: "usr": "c:@E@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:12-1:15", "definition_extent": "1:1-4:2", "parents": [], @@ -31,8 +30,7 @@ OUTPUT: "id": 0, "usr": "c:@E@Foo@A", "short_name": "A", - "detailed_name": "Foo Foo::A", - "hover": "Foo", + "detailed_name": "Foo::A", "definition_spelling": "2:3-2:4", "definition_extent": "2:3-2:4", "variable_type": 0, @@ -44,8 +42,7 @@ OUTPUT: "id": 1, "usr": "c:@E@Foo@B", "short_name": "B", - "detailed_name": "Foo Foo::B", - "hover": "Foo", + "detailed_name": "Foo::B", "definition_spelling": "3:3-3:4", "definition_extent": "3:3-3:9", "variable_type": 0, @@ -58,7 +55,6 @@ OUTPUT: "usr": "c:@x", "short_name": "x", "detailed_name": "Foo x", - "hover": "Foo", "definition_spelling": "6:5-6:6", "definition_extent": "6:1-6:15", "variable_type": 0, diff --git a/tests/foobar.cc b/tests/foobar.cc index d1476335..40dffd4e 100644 --- a/tests/foobar.cc +++ b/tests/foobar.cc @@ -18,7 +18,6 @@ OUTPUT: "usr": "c:@E@A", "short_name": "A", "detailed_name": "A", - "hover": "A", "definition_spelling": "1:6-1:7", "definition_extent": "1:1-1:10", "parents": [], @@ -33,7 +32,6 @@ OUTPUT: "usr": "c:@E@B", "short_name": "B", "detailed_name": "B", - "hover": "B", "definition_spelling": "2:6-2:7", "definition_extent": "2:1-2:10", "parents": [], @@ -48,7 +46,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "5:8-5:11", "definition_extent": "5:1-7:2", "parents": [], @@ -63,7 +60,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo@S@Inner", "short_name": "Inner", "detailed_name": "Foo::Inner", - "hover": "Foo::Inner", "definition_spelling": "6:10-6:15", "definition_extent": "6:3-6:18", "parents": [], @@ -80,7 +76,6 @@ OUTPUT: "usr": "c:@a", "short_name": "a", "detailed_name": "Foo::Inner a", - "hover": "Foo::Inner", "definition_spelling": "9:15-9:16", "definition_extent": "9:1-9:16", "variable_type": 3, @@ -92,7 +87,6 @@ OUTPUT: "usr": "c:@b", "short_name": "b", "detailed_name": "Foo b", - "hover": "Foo", "definition_spelling": "10:8-10:9", "definition_extent": "10:1-10:9", "variable_type": 2, diff --git a/tests/inheritance/class_inherit.cc b/tests/inheritance/class_inherit.cc index f4d8ffbf..79d3003a 100644 --- a/tests/inheritance/class_inherit.cc +++ b/tests/inheritance/class_inherit.cc @@ -11,7 +11,6 @@ OUTPUT: "usr": "c:@S@Parent", "short_name": "Parent", "detailed_name": "Parent", - "hover": "Parent", "definition_spelling": "1:7-1:13", "definition_extent": "1:1-1:16", "parents": [], @@ -26,7 +25,6 @@ OUTPUT: "usr": "c:@S@Derived", "short_name": "Derived", "detailed_name": "Derived", - "hover": "Derived", "definition_spelling": "2:7-2:14", "definition_extent": "2:1-2:33", "parents": [0], diff --git a/tests/inheritance/class_inherit_templated_parent.cc b/tests/inheritance/class_inherit_templated_parent.cc index 394f7257..97489b72 100644 --- a/tests/inheritance/class_inherit_templated_parent.cc +++ b/tests/inheritance/class_inherit_templated_parent.cc @@ -22,7 +22,6 @@ OUTPUT: "usr": "c:@ST>1#Ni@Base1", "short_name": "Base1", "detailed_name": "Base1", - "hover": "Base1", "definition_spelling": "2:7-2:12", "definition_extent": "2:1-2:15", "parents": [], @@ -37,7 +36,6 @@ OUTPUT: "usr": "c:@ST>1#T@Base2", "short_name": "Base2", "detailed_name": "Base2", - "hover": "Base2", "definition_spelling": "5:7-5:12", "definition_extent": "5:1-5:15", "parents": [], @@ -52,7 +50,6 @@ OUTPUT: "usr": "c:@ST>1#Ni@Derived1", "short_name": "Derived1", "detailed_name": "Derived1", - "hover": "Derived1", "definition_spelling": "8:7-8:15", "definition_extent": "8:1-8:29", "parents": [0], @@ -67,7 +64,6 @@ OUTPUT: "usr": "c:@ST>1#T@Derived2", "short_name": "Derived2", "detailed_name": "Derived2", - "hover": "Derived2", "definition_spelling": "11:7-11:15", "definition_extent": "11:1-11:29", "parents": [1], @@ -82,7 +78,6 @@ OUTPUT: "usr": "c:class_inherit_templated_parent.cc@154", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -95,7 +90,6 @@ OUTPUT: "usr": "c:@S@Derived", "short_name": "Derived", "detailed_name": "Derived", - "hover": "Derived", "definition_spelling": "13:7-13:14", "definition_extent": "13:1-13:76", "parents": [0, 1, 2, 3], diff --git a/tests/inheritance/class_multiple_inherit.cc b/tests/inheritance/class_multiple_inherit.cc index 1a0c09e9..b017c1a6 100644 --- a/tests/inheritance/class_multiple_inherit.cc +++ b/tests/inheritance/class_multiple_inherit.cc @@ -13,7 +13,6 @@ OUTPUT: "usr": "c:@S@Root", "short_name": "Root", "detailed_name": "Root", - "hover": "Root", "definition_spelling": "1:7-1:11", "definition_extent": "1:1-1:14", "parents": [], @@ -28,7 +27,6 @@ OUTPUT: "usr": "c:@S@MiddleA", "short_name": "MiddleA", "detailed_name": "MiddleA", - "hover": "MiddleA", "definition_spelling": "2:7-2:14", "definition_extent": "2:1-2:31", "parents": [0], @@ -43,7 +41,6 @@ OUTPUT: "usr": "c:@S@MiddleB", "short_name": "MiddleB", "detailed_name": "MiddleB", - "hover": "MiddleB", "definition_spelling": "3:7-3:14", "definition_extent": "3:1-3:31", "parents": [0], @@ -58,7 +55,6 @@ OUTPUT: "usr": "c:@S@Derived", "short_name": "Derived", "detailed_name": "Derived", - "hover": "Derived", "definition_spelling": "4:7-4:14", "definition_extent": "4:1-4:50", "parents": [1, 2], diff --git a/tests/inheritance/function_override.cc b/tests/inheritance/function_override.cc index 7701369b..0103f643 100644 --- a/tests/inheritance/function_override.cc +++ b/tests/inheritance/function_override.cc @@ -15,7 +15,6 @@ OUTPUT: "usr": "c:@S@Root", "short_name": "Root", "detailed_name": "Root", - "hover": "Root", "definition_spelling": "1:7-1:11", "definition_extent": "1:1-3:2", "parents": [], @@ -30,7 +29,6 @@ OUTPUT: "usr": "c:@S@Derived", "short_name": "Derived", "detailed_name": "Derived", - "hover": "Derived", "definition_spelling": "4:7-4:14", "definition_extent": "4:1-6:2", "parents": [0], diff --git a/tests/inheritance/interface_pure_virtual.cc b/tests/inheritance/interface_pure_virtual.cc index 354baa1a..822048fe 100644 --- a/tests/inheritance/interface_pure_virtual.cc +++ b/tests/inheritance/interface_pure_virtual.cc @@ -12,7 +12,6 @@ OUTPUT: "usr": "c:@S@IFoo", "short_name": "IFoo", "detailed_name": "IFoo", - "hover": "IFoo", "definition_spelling": "1:7-1:11", "definition_extent": "1:1-3:2", "parents": [], diff --git a/tests/inheritance/multiple_base_functions.cc b/tests/inheritance/multiple_base_functions.cc index 8a166beb..db0a497d 100644 --- a/tests/inheritance/multiple_base_functions.cc +++ b/tests/inheritance/multiple_base_functions.cc @@ -18,7 +18,6 @@ OUTPUT: "usr": "c:@S@Base0", "short_name": "Base0", "detailed_name": "Base0", - "hover": "Base0", "definition_spelling": "1:8-1:13", "definition_extent": "1:1-3:2", "parents": [], @@ -33,7 +32,6 @@ OUTPUT: "usr": "c:@S@Base1", "short_name": "Base1", "detailed_name": "Base1", - "hover": "Base1", "definition_spelling": "4:8-4:13", "definition_extent": "4:1-6:2", "parents": [], @@ -48,7 +46,6 @@ OUTPUT: "usr": "c:@S@Derived", "short_name": "Derived", "detailed_name": "Derived", - "hover": "Derived", "definition_spelling": "7:8-7:15", "definition_extent": "7:1-9:2", "parents": [0, 1], diff --git a/tests/lambdas/lambda.cc b/tests/lambdas/lambda.cc index 91dbfe77..20efdcc1 100644 --- a/tests/lambdas/lambda.cc +++ b/tests/lambdas/lambda.cc @@ -21,7 +21,6 @@ OUTPUT: "usr": "c:lambda.cc@47@F@foo#@Sa", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -51,7 +50,6 @@ OUTPUT: "usr": "c:lambda.cc@57@F@foo#@Sa@F@operator()#I#1", "short_name": "", "detailed_name": "", - "hover": "", "declarations": [], "base": [], "derived": [], @@ -64,7 +62,6 @@ OUTPUT: "usr": "c:lambda.cc@16@F@foo#@x", "short_name": "x", "detailed_name": "int x", - "hover": "int", "definition_spelling": "2:7-2:8", "definition_extent": "2:3-2:8", "is_local": true, @@ -75,7 +72,6 @@ OUTPUT: "usr": "c:lambda.cc@28@F@foo#@dosomething", "short_name": "dosomething", "detailed_name": "lambda dosomething", - "hover": "lambda", "definition_spelling": "4:8-4:19", "definition_extent": "4:3-7:4", "variable_type": 0, @@ -87,7 +83,6 @@ OUTPUT: "usr": "c:lambda.cc@52@F@foo#@Sa@F@operator()#I#1@y", "short_name": "y", "detailed_name": "int y", - "hover": "int", "definition_spelling": "4:31-4:32", "definition_extent": "4:27-4:32", "is_local": false, diff --git a/tests/macros/complex.cc b/tests/macros/complex.cc index 04e125d6..d924fce1 100644 --- a/tests/macros/complex.cc +++ b/tests/macros/complex.cc @@ -58,7 +58,6 @@ OUTPUT: "usr": "c:complex.cc@make2", "short_name": "make2", "detailed_name": "const int make2", - "hover": "const int", "definition_spelling": "9:11-9:16", "definition_extent": "9:1-9:20", "is_local": false, diff --git a/tests/macros/foo.cc b/tests/macros/foo.cc index 6b949261..e01c0333 100644 --- a/tests/macros/foo.cc +++ b/tests/macros/foo.cc @@ -17,24 +17,38 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "4:8-4:11", "definition_extent": "4:1-6:2", "parents": [], "derived": [], "types": [], - "funcs": [], + "funcs": [0], "vars": [], "instances": [], - "uses": ["4:8-4:11"] + "uses": ["4:8-4:11", "5:12-5:15"] + }], + "funcs": [{ + "id": 0, + "is_operator": false, + "usr": "c:@S@Foo@F@Foo#&&$@S@Foo#", + "short_name": "Foo", + "detailed_name": "void Foo::Foo(Foo &&)", + "hover": "void Foo::Foo(Foo &&)", + "declarations": [], + "definition_spelling": "5:12-5:15", + "definition_extent": "5:12-5:16", + "declaring_type": 0, + "base": [], + "derived": [], + "locals": [], + "callers": [], + "callees": [] }], - "funcs": [], "vars": [{ "id": 0, "usr": "c:@x", "short_name": "x", "detailed_name": "int x", - "hover": "int", "definition_spelling": "8:5-8:6", "definition_extent": "8:1-8:10", "is_local": false, diff --git a/tests/method_declaration.cc b/tests/method_declaration.cc index af71cdc9..2fac5c9f 100644 --- a/tests/method_declaration.cc +++ b/tests/method_declaration.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-3:2", "parents": [], diff --git a/tests/method_inline_declaration.cc b/tests/method_inline_declaration.cc index 5f793a28..fbb85301 100644 --- a/tests/method_inline_declaration.cc +++ b/tests/method_inline_declaration.cc @@ -12,7 +12,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-3:2", "parents": [], diff --git a/tests/namespaces/method_declaration.cc b/tests/namespaces/method_declaration.cc index 0a871ae4..b0318700 100644 --- a/tests/namespaces/method_declaration.cc +++ b/tests/namespaces/method_declaration.cc @@ -14,7 +14,6 @@ OUTPUT: "usr": "c:@N@hello@S@Foo", "short_name": "Foo", "detailed_name": "hello::Foo", - "hover": "hello::Foo", "definition_spelling": "2:7-2:10", "definition_extent": "2:1-4:2", "parents": [], diff --git a/tests/namespaces/method_definition.cc b/tests/namespaces/method_definition.cc index 0c8aca48..58e794ed 100644 --- a/tests/namespaces/method_definition.cc +++ b/tests/namespaces/method_definition.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@N@hello@S@Foo", "short_name": "Foo", "detailed_name": "hello::Foo", - "hover": "hello::Foo", "definition_spelling": "2:7-2:10", "definition_extent": "2:1-4:2", "parents": [], diff --git a/tests/namespaces/method_inline_declaration.cc b/tests/namespaces/method_inline_declaration.cc index a97ea173..9ffb39b2 100644 --- a/tests/namespaces/method_inline_declaration.cc +++ b/tests/namespaces/method_inline_declaration.cc @@ -14,7 +14,6 @@ OUTPUT: "usr": "c:@N@hello@S@Foo", "short_name": "Foo", "detailed_name": "hello::Foo", - "hover": "hello::Foo", "definition_spelling": "2:7-2:10", "definition_extent": "2:1-4:2", "parents": [], diff --git a/tests/namespaces/namespace_alias.cc b/tests/namespaces/namespace_alias.cc index 67ae283a..14c586f4 100644 --- a/tests/namespaces/namespace_alias.cc +++ b/tests/namespaces/namespace_alias.cc @@ -40,7 +40,6 @@ OUTPUT: "usr": "c:@N@foo@N@bar@N@baz@qux", "short_name": "qux", "detailed_name": "int foo::bar::baz::qux", - "hover": "int", "definition_spelling": "4:18-4:21", "definition_extent": "4:14-4:26", "is_local": false, @@ -51,7 +50,6 @@ OUTPUT: "usr": "c:namespace_alias.cc@167@F@func#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "12:7-12:8", "definition_extent": "12:3-12:29", "is_local": true, @@ -62,7 +60,6 @@ OUTPUT: "usr": "c:namespace_alias.cc@198@F@func#@b", "short_name": "b", "detailed_name": "int b", - "hover": "int", "definition_spelling": "13:7-13:8", "definition_extent": "13:3-13:19", "is_local": true, diff --git a/tests/namespaces/namespace_reference.cc b/tests/namespaces/namespace_reference.cc index a7fd736b..51122324 100644 --- a/tests/namespaces/namespace_reference.cc +++ b/tests/namespaces/namespace_reference.cc @@ -51,7 +51,6 @@ OUTPUT: "usr": "c:@N@ns@Foo", "short_name": "Foo", "detailed_name": "int ns::Foo", - "hover": "int", "definition_spelling": "2:7-2:10", "definition_extent": "2:3-2:10", "is_local": false, @@ -62,7 +61,6 @@ OUTPUT: "usr": "c:namespace_reference.cc@42@N@ns@F@Accept#I#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "3:19-3:20", "definition_extent": "3:15-3:20", "is_local": true, diff --git a/tests/operators/operator.cc b/tests/operators/operator.cc index 45d44729..b568ad7b 100644 --- a/tests/operators/operator.cc +++ b/tests/operators/operator.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-5:2", "parents": [], diff --git a/tests/outline/static_function_in_type.cc b/tests/outline/static_function_in_type.cc index 06a8c7de..3dc9dd40 100644 --- a/tests/outline/static_function_in_type.cc +++ b/tests/outline/static_function_in_type.cc @@ -16,7 +16,6 @@ OUTPUT: static_function_in_type.h "usr": "c:@N@ns@S@Manager", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -29,7 +28,6 @@ OUTPUT: static_function_in_type.h "usr": "c:@N@ns@S@Foo", "short_name": "Foo", "detailed_name": "ns::Foo", - "hover": "ns::Foo", "definition_spelling": "5:8-5:11", "definition_extent": "5:1-7:2", "parents": [], @@ -74,7 +72,6 @@ OUTPUT: static_function_in_type.cc "usr": "c:@N@ns@S@Foo", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -87,7 +84,6 @@ OUTPUT: static_function_in_type.cc "usr": "c:@N@ns@S@Manager", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -118,7 +114,6 @@ OUTPUT: static_function_in_type.cc "usr": "c:static_function_in_type.cc@86@N@ns@S@Foo@F@Register#*$@N@ns@S@Manager#S@m", "short_name": "m", "detailed_name": "ns::Manager * m", - "hover": "ns::Manager *", "definition_spelling": "5:29-5:30", "definition_extent": "5:20-5:30", "variable_type": 1, diff --git a/tests/templates/func_specialized_template_param.cc b/tests/templates/func_specialized_template_param.cc index 0affb4c5..87dacd3c 100644 --- a/tests/templates/func_specialized_template_param.cc +++ b/tests/templates/func_specialized_template_param.cc @@ -17,7 +17,6 @@ OUTPUT: "usr": "c:@ST>1#T@Template", "short_name": "Template", "detailed_name": "Template", - "hover": "Template", "definition_spelling": "2:7-2:15", "definition_extent": "2:1-2:18", "parents": [], @@ -32,7 +31,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "4:8-4:11", "definition_extent": "4:1-6:2", "parents": [], diff --git a/tests/templates/implicit_variable_instantiation.cc b/tests/templates/implicit_variable_instantiation.cc index cb78427c..fbb36025 100644 --- a/tests/templates/implicit_variable_instantiation.cc +++ b/tests/templates/implicit_variable_instantiation.cc @@ -24,7 +24,6 @@ OUTPUT: "usr": "c:@N@ns@E@VarType", "short_name": "VarType", "detailed_name": "ns::VarType", - "hover": "ns::VarType", "definition_spelling": "2:8-2:15", "definition_extent": "2:3-2:18", "parents": [], @@ -39,7 +38,6 @@ OUTPUT: "usr": "c:@N@ns@ST>1#T@Holder", "short_name": "Holder", "detailed_name": "ns::Holder", - "hover": "ns::Holder", "definition_spelling": "5:10-5:16", "definition_extent": "5:3-7:4", "parents": [], @@ -56,7 +54,6 @@ OUTPUT: "usr": "c:@N@ns@ST>1#T@Holder@static_var", "short_name": "static_var", "detailed_name": "const ns::VarType 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", @@ -70,7 +67,6 @@ OUTPUT: "usr": "c:@N@ns@Foo", "short_name": "Foo", "detailed_name": "int ns::Foo", - "hover": "int", "definition_spelling": "13:7-13:10", "definition_extent": "13:3-13:36", "is_local": false, @@ -81,7 +77,6 @@ OUTPUT: "usr": "c:@N@ns@Foo2", "short_name": "Foo2", "detailed_name": "int ns::Foo2", - "hover": "int", "definition_spelling": "14:7-14:11", "definition_extent": "14:3-14:37", "is_local": false, diff --git a/tests/templates/namespace_template_class_template_func_usage_folded_into_one.cc b/tests/templates/namespace_template_class_template_func_usage_folded_into_one.cc index a8668adf..057fc3e9 100644 --- a/tests/templates/namespace_template_class_template_func_usage_folded_into_one.cc +++ b/tests/templates/namespace_template_class_template_func_usage_folded_into_one.cc @@ -21,7 +21,6 @@ OUTPUT: "usr": "c:@N@ns@ST>1#T@Foo", "short_name": "Foo", "detailed_name": "ns::Foo", - "hover": "ns::Foo", "definition_spelling": "3:10-3:13", "definition_extent": "3:3-8:4", "parents": [], @@ -54,7 +53,6 @@ OUTPUT: "usr": "c:@N@ns@a", "short_name": "a", "detailed_name": "int ns::a", - "hover": "int", "definition_spelling": "10:7-10:8", "definition_extent": "10:3-10:33", "is_local": false, @@ -65,7 +63,6 @@ OUTPUT: "usr": "c:@N@ns@b", "short_name": "b", "detailed_name": "int ns::b", - "hover": "int", "definition_spelling": "11:7-11:8", "definition_extent": "11:3-11:35", "is_local": false, diff --git a/tests/templates/namespace_template_type_usage_folded_into_one.cc b/tests/templates/namespace_template_type_usage_folded_into_one.cc index e4c2eabc..e25c7987 100644 --- a/tests/templates/namespace_template_type_usage_folded_into_one.cc +++ b/tests/templates/namespace_template_type_usage_folded_into_one.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@N@ns@ST>1#T@Foo", "short_name": "Foo", "detailed_name": "ns::Foo", - "hover": "ns::Foo", "definition_spelling": "3:9-3:12", "definition_extent": "3:3-3:15", "parents": [], @@ -33,7 +32,6 @@ OUTPUT: "usr": "c:@N@ns@a", "short_name": "a", "detailed_name": "Foo ns::a", - "hover": "Foo", "definition_spelling": "5:12-5:13", "definition_extent": "5:3-5:13", "variable_type": 0, @@ -45,7 +43,6 @@ OUTPUT: "usr": "c:@N@ns@b", "short_name": "b", "detailed_name": "Foo ns::b", - "hover": "Foo", "definition_spelling": "6:13-6:14", "definition_extent": "6:3-6:14", "variable_type": 0, diff --git a/tests/templates/specialized_func_definition.cc b/tests/templates/specialized_func_definition.cc index 697e7326..323c5331 100644 --- a/tests/templates/specialized_func_definition.cc +++ b/tests/templates/specialized_func_definition.cc @@ -27,7 +27,6 @@ OUTPUT: "usr": "c:@ST>1#T@Template", "short_name": "Template", "detailed_name": "Template", - "hover": "Template", "definition_spelling": "2:7-2:15", "definition_extent": "2:1-4:2", "parents": [], diff --git a/tests/templates/template_class_func_usage_folded_into_one.cc b/tests/templates/template_class_func_usage_folded_into_one.cc index 6ad87bdc..94984b0c 100644 --- a/tests/templates/template_class_func_usage_folded_into_one.cc +++ b/tests/templates/template_class_func_usage_folded_into_one.cc @@ -18,7 +18,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "2:8-2:11", "definition_extent": "2:1-6:2", "parents": [], @@ -51,7 +50,6 @@ OUTPUT: "usr": "c:@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "8:5-8:6", "definition_extent": "8:1-8:24", "is_local": false, @@ -62,7 +60,6 @@ OUTPUT: "usr": "c:@b", "short_name": "b", "detailed_name": "int b", - "hover": "int", "definition_spelling": "9:5-9:6", "definition_extent": "9:1-9:25", "is_local": false, diff --git a/tests/templates/template_class_template_func_usage_folded_into_one.cc b/tests/templates/template_class_template_func_usage_folded_into_one.cc index 59260e3c..e536edf0 100644 --- a/tests/templates/template_class_template_func_usage_folded_into_one.cc +++ b/tests/templates/template_class_template_func_usage_folded_into_one.cc @@ -19,7 +19,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "2:8-2:11", "definition_extent": "2:1-7:2", "parents": [], @@ -52,7 +51,6 @@ OUTPUT: "usr": "c:@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "9:5-9:6", "definition_extent": "9:1-9:31", "is_local": false, @@ -63,7 +61,6 @@ OUTPUT: "usr": "c:@b", "short_name": "b", "detailed_name": "int b", - "hover": "int", "definition_spelling": "10:5-10:6", "definition_extent": "10:1-10:33", "is_local": false, diff --git a/tests/templates/template_class_type_usage_folded_into_one.cc b/tests/templates/template_class_type_usage_folded_into_one.cc index 25743ff2..3f9a070c 100644 --- a/tests/templates/template_class_type_usage_folded_into_one.cc +++ b/tests/templates/template_class_type_usage_folded_into_one.cc @@ -37,7 +37,6 @@ OUTPUT: "usr": "c:@E@A", "short_name": "A", "detailed_name": "A", - "hover": "A", "definition_spelling": "1:6-1:7", "definition_extent": "1:1-1:10", "parents": [], @@ -52,7 +51,6 @@ OUTPUT: "usr": "c:@E@B", "short_name": "B", "detailed_name": "B", - "hover": "B", "definition_spelling": "2:6-2:7", "definition_extent": "2:1-2:10", "parents": [], @@ -67,7 +65,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "5:8-5:11", "definition_extent": "5:1-7:2", "parents": [], @@ -82,7 +79,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo@S@Inner", "short_name": "Inner", "detailed_name": "Foo::Inner", - "hover": "Foo::Inner", "definition_spelling": "6:10-6:15", "definition_extent": "6:3-6:18", "parents": [], @@ -99,7 +95,6 @@ OUTPUT: "usr": "c:@a", "short_name": "a", "detailed_name": "Foo::Inner a", - "hover": "Foo::Inner", "definition_spelling": "9:15-9:16", "definition_extent": "9:1-9:16", "variable_type": 3, @@ -111,7 +106,6 @@ OUTPUT: "usr": "c:@b", "short_name": "b", "detailed_name": "Foo::Inner b", - "hover": "Foo::Inner", "definition_spelling": "10:15-10:16", "definition_extent": "10:1-10:16", "variable_type": 3, diff --git a/tests/templates/template_class_var_usage_folded_into_one.cc b/tests/templates/template_class_var_usage_folded_into_one.cc index fc2071d0..a0812d0c 100644 --- a/tests/templates/template_class_var_usage_folded_into_one.cc +++ b/tests/templates/template_class_var_usage_folded_into_one.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "2:8-2:11", "definition_extent": "2:1-4:2", "parents": [], @@ -33,7 +32,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo@var", "short_name": "var", "detailed_name": "const int Foo::var", - "hover": "const int", "declaration": "3:24-3:27", "is_local": false, "is_macro": false, @@ -43,7 +41,6 @@ OUTPUT: "usr": "c:@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "6:5-6:6", "definition_extent": "6:1-6:22", "is_local": false, @@ -54,7 +51,6 @@ OUTPUT: "usr": "c:@b", "short_name": "b", "detailed_name": "int b", - "hover": "int", "definition_spelling": "7:5-7:6", "definition_extent": "7:1-7:23", "is_local": false, diff --git a/tests/templates/template_func_usage_folded_into_one.cc b/tests/templates/template_func_usage_folded_into_one.cc index 3c4b3653..6dedd16b 100644 --- a/tests/templates/template_func_usage_folded_into_one.cc +++ b/tests/templates/template_func_usage_folded_into_one.cc @@ -36,7 +36,6 @@ OUTPUT: "usr": "c:@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "6:5-6:6", "definition_extent": "6:1-6:19", "is_local": false, @@ -47,7 +46,6 @@ OUTPUT: "usr": "c:@b", "short_name": "b", "detailed_name": "int b", - "hover": "int", "definition_spelling": "7:5-7:6", "definition_extent": "7:1-7:20", "is_local": false, diff --git a/tests/templates/template_type_usage_folded_into_one.cc b/tests/templates/template_type_usage_folded_into_one.cc index 7e9eb7b0..e158b47a 100644 --- a/tests/templates/template_type_usage_folded_into_one.cc +++ b/tests/templates/template_type_usage_folded_into_one.cc @@ -14,7 +14,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "2:7-2:10", "definition_extent": "2:1-2:13", "parents": [], @@ -31,7 +30,6 @@ OUTPUT: "usr": "c:@a", "short_name": "a", "detailed_name": "Foo a", - "hover": "Foo", "definition_spelling": "4:10-4:11", "definition_extent": "4:1-4:11", "variable_type": 0, @@ -43,7 +41,6 @@ OUTPUT: "usr": "c:@b", "short_name": "b", "detailed_name": "Foo b", - "hover": "Foo", "definition_spelling": "5:11-5:12", "definition_extent": "5:1-5:12", "variable_type": 0, diff --git a/tests/templates/template_var_usage_folded_into_one.cc b/tests/templates/template_var_usage_folded_into_one.cc index a1f0a379..05b94efd 100644 --- a/tests/templates/template_var_usage_folded_into_one.cc +++ b/tests/templates/template_var_usage_folded_into_one.cc @@ -40,7 +40,6 @@ OUTPUT: "usr": "c:@E@A", "short_name": "A", "detailed_name": "A", - "hover": "A", "definition_spelling": "1:6-1:7", "definition_extent": "1:1-1:10", "parents": [], @@ -55,7 +54,6 @@ OUTPUT: "usr": "c:@E@B", "short_name": "B", "detailed_name": "B", - "hover": "B", "definition_spelling": "2:6-2:7", "definition_extent": "2:1-2:10", "parents": [], @@ -70,7 +68,6 @@ OUTPUT: "usr": "c:template_var_usage_folded_into_one.cc@35", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -85,7 +82,6 @@ OUTPUT: "usr": "c:@VT>1#T@var", "short_name": "var", "detailed_name": "T var", - "hover": "T", "definition_spelling": "5:3-5:6", "definition_extent": "5:1-5:12", "is_local": false, @@ -96,7 +92,6 @@ OUTPUT: "usr": "c:@a", "short_name": "a", "detailed_name": "A a", - "hover": "A", "definition_spelling": "7:3-7:4", "definition_extent": "7:1-7:13", "variable_type": 0, @@ -108,7 +103,6 @@ OUTPUT: "usr": "c:@b", "short_name": "b", "detailed_name": "B b", - "hover": "B", "definition_spelling": "8:3-8:4", "definition_extent": "8:1-8:13", "variable_type": 1, diff --git a/tests/types/anonymous_struct.cc b/tests/types/anonymous_struct.cc index e32f8d39..1f030dba 100644 --- a/tests/types/anonymous_struct.cc +++ b/tests/types/anonymous_struct.cc @@ -13,7 +13,6 @@ OUTPUT: "usr": "c:@U@vector3", "short_name": "vector3", "detailed_name": "vector3", - "hover": "vector3", "definition_spelling": "1:7-1:14", "definition_extent": "1:1-4:2", "parents": [], @@ -28,7 +27,6 @@ OUTPUT: "usr": "c:@U@vector3@Sa", "short_name": "", "detailed_name": "vector3::", - "hover": "vector3::", "definition_spelling": "2:3-2:9", "definition_extent": "2:3-2:28", "parents": [], @@ -45,7 +43,6 @@ OUTPUT: "usr": "c:@U@vector3@Sa@FI@x", "short_name": "x", "detailed_name": "float vector3::(anon)::x", - "hover": "float", "definition_spelling": "2:18-2:19", "definition_extent": "2:12-2:19", "declaring_type": 1, @@ -57,7 +54,6 @@ OUTPUT: "usr": "c:@U@vector3@Sa@FI@y", "short_name": "y", "detailed_name": "float vector3::(anon)::y", - "hover": "float", "definition_spelling": "2:21-2:22", "definition_extent": "2:12-2:22", "declaring_type": 1, @@ -69,7 +65,6 @@ OUTPUT: "usr": "c:@U@vector3@Sa@FI@z", "short_name": "z", "detailed_name": "float vector3::(anon)::z", - "hover": "float", "definition_spelling": "2:24-2:25", "definition_extent": "2:12-2:25", "declaring_type": 1, @@ -81,7 +76,6 @@ OUTPUT: "usr": "c:@U@vector3@FI@v", "short_name": "v", "detailed_name": "float [3] vector3::v", - "hover": "float [3]", "definition_spelling": "3:9-3:10", "definition_extent": "3:3-3:13", "declaring_type": 0, diff --git a/tests/unions/union_decl.cc b/tests/unions/union_decl.cc index 7e023847..250dd375 100644 --- a/tests/unions/union_decl.cc +++ b/tests/unions/union_decl.cc @@ -13,7 +13,6 @@ OUTPUT: "usr": "c:@U@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-4:2", "parents": [], @@ -30,7 +29,6 @@ OUTPUT: "usr": "c:@U@Foo@FI@a", "short_name": "a", "detailed_name": "int Foo::a", - "hover": "int", "definition_spelling": "2:7-2:8", "definition_extent": "2:3-2:8", "declaring_type": 0, @@ -42,7 +40,6 @@ OUTPUT: "usr": "c:@U@Foo@FI@b", "short_name": "b", "detailed_name": "bool Foo::b", - "hover": "bool", "definition_spelling": "3:8-3:9", "definition_extent": "3:3-3:9", "declaring_type": 0, diff --git a/tests/unions/union_usage.cc b/tests/unions/union_usage.cc index b7648e25..be804f0b 100644 --- a/tests/unions/union_usage.cc +++ b/tests/unions/union_usage.cc @@ -21,7 +21,6 @@ OUTPUT: "usr": "c:@U@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-4:2", "parents": [], @@ -53,7 +52,6 @@ OUTPUT: "usr": "c:@U@Foo@FI@a", "short_name": "a", "detailed_name": "int Foo::a", - "hover": "int", "definition_spelling": "2:7-2:8", "definition_extent": "2:3-2:12", "declaring_type": 0, @@ -65,7 +63,6 @@ OUTPUT: "usr": "c:@U@Foo@FI@b", "short_name": "b", "detailed_name": "bool Foo::b", - "hover": "bool", "definition_spelling": "3:8-3:9", "definition_extent": "3:3-3:13", "declaring_type": 0, @@ -77,7 +74,6 @@ OUTPUT: "usr": "c:@f", "short_name": "f", "detailed_name": "Foo f", - "hover": "Foo", "definition_spelling": "6:5-6:6", "definition_extent": "6:1-6:6", "variable_type": 0, diff --git a/tests/usage/func_called_from_constructor.cc b/tests/usage/func_called_from_constructor.cc index 32817e32..54fb6b00 100644 --- a/tests/usage/func_called_from_constructor.cc +++ b/tests/usage/func_called_from_constructor.cc @@ -18,7 +18,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "3:8-3:11", "definition_extent": "3:1-5:2", "parents": [], diff --git a/tests/usage/func_called_implicit_ctor.cc b/tests/usage/func_called_implicit_ctor.cc index 1d315753..5dda9842 100644 --- a/tests/usage/func_called_implicit_ctor.cc +++ b/tests/usage/func_called_implicit_ctor.cc @@ -18,7 +18,6 @@ OUTPUT: "usr": "c:@S@Wrapper", "short_name": "Wrapper", "detailed_name": "Wrapper", - "hover": "Wrapper", "definition_spelling": "1:8-1:15", "definition_extent": "1:1-3:2", "parents": [], diff --git a/tests/usage/func_usage_addr_func.cc b/tests/usage/func_usage_addr_func.cc index 2ecc24d6..d203a39c 100644 --- a/tests/usage/func_usage_addr_func.cc +++ b/tests/usage/func_usage_addr_func.cc @@ -64,7 +64,6 @@ OUTPUT: "usr": "c:func_usage_addr_func.cc@66@F@user#@x", "short_name": "x", "detailed_name": "void (*)() x", - "hover": "void (*)()", "definition_spelling": "6:10-6:11", "definition_extent": "6:3-6:22", "is_local": true, diff --git a/tests/usage/func_usage_addr_method.cc b/tests/usage/func_usage_addr_method.cc index 45cbbe3f..d301ed82 100644 --- a/tests/usage/func_usage_addr_method.cc +++ b/tests/usage/func_usage_addr_method.cc @@ -17,7 +17,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:8-1:11", "definition_extent": "1:1-3:2", "parents": [], @@ -68,7 +67,6 @@ OUTPUT: "usr": "c:func_usage_addr_method.cc@53@F@user#@x", "short_name": "x", "detailed_name": "void (Foo::*)() x", - "hover": "void (Foo::*)()", "definition_spelling": "6:8-6:9", "definition_extent": "6:3-6:22", "is_local": true, diff --git a/tests/usage/func_usage_call_method.cc b/tests/usage/func_usage_call_method.cc index 3ec86f4d..21523e1c 100644 --- a/tests/usage/func_usage_call_method.cc +++ b/tests/usage/func_usage_call_method.cc @@ -17,7 +17,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:8-1:11", "definition_extent": "1:1-3:2", "parents": [], @@ -68,7 +67,6 @@ OUTPUT: "usr": "c:func_usage_call_method.cc@53@F@user#@f", "short_name": "f", "detailed_name": "Foo * f", - "hover": "Foo *", "definition_spelling": "6:8-6:9", "definition_extent": "6:3-6:19", "variable_type": 0, diff --git a/tests/usage/func_usage_class_inline_var_def.cc b/tests/usage/func_usage_class_inline_var_def.cc index 88d94541..e08e8a1c 100644 --- a/tests/usage/func_usage_class_inline_var_def.cc +++ b/tests/usage/func_usage_class_inline_var_def.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "5:7-5:10", "definition_extent": "5:1-7:2", "parents": [], @@ -48,7 +47,6 @@ OUTPUT: "usr": "c:@S@Foo@FI@x", "short_name": "x", "detailed_name": "int Foo::x", - "hover": "int", "definition_spelling": "6:7-6:8", "definition_extent": "6:3-6:19", "declaring_type": 0, diff --git a/tests/usage/func_usage_forward_decl_method.cc b/tests/usage/func_usage_forward_decl_method.cc index 85867949..8d494b8c 100644 --- a/tests/usage/func_usage_forward_decl_method.cc +++ b/tests/usage/func_usage_forward_decl_method.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:8-1:11", "definition_extent": "1:1-3:2", "parents": [], @@ -67,7 +66,6 @@ OUTPUT: "usr": "c:func_usage_forward_decl_method.cc@53@F@usage#@f", "short_name": "f", "detailed_name": "Foo * f", - "hover": "Foo *", "definition_spelling": "6:8-6:9", "definition_extent": "6:3-6:19", "variable_type": 0, diff --git a/tests/usage/type_usage_as_template_parameter.cc b/tests/usage/type_usage_as_template_parameter.cc index 5bd232f0..83e29e38 100644 --- a/tests/usage/type_usage_as_template_parameter.cc +++ b/tests/usage/type_usage_as_template_parameter.cc @@ -20,7 +20,6 @@ OUTPUT: "usr": "c:@ST>1#T@unique_ptr", "short_name": "unique_ptr", "detailed_name": "unique_ptr", - "hover": "unique_ptr", "definition_spelling": "2:7-2:17", "definition_extent": "2:1-2:20", "parents": [], @@ -35,7 +34,6 @@ OUTPUT: "usr": "c:@S@S", "short_name": "S", "detailed_name": "S", - "hover": "S", "definition_spelling": "4:8-4:9", "definition_extent": "4:1-4:12", "parents": [], @@ -67,7 +65,6 @@ OUTPUT: "usr": "c:type_usage_as_template_parameter.cc@f0", "short_name": "f0", "detailed_name": "unique_ptr f0", - "hover": "unique_ptr", "definition_spelling": "6:25-6:27", "definition_extent": "6:1-6:27", "variable_type": 0, @@ -79,7 +76,6 @@ OUTPUT: "usr": "c:type_usage_as_template_parameter.cc@f1", "short_name": "f1", "detailed_name": "unique_ptr f1", - "hover": "unique_ptr", "definition_spelling": "7:22-7:24", "definition_extent": "7:1-7:24", "variable_type": 0, @@ -91,7 +87,6 @@ OUTPUT: "usr": "c:type_usage_as_template_parameter.cc@153@F@return_type#@local", "short_name": "local", "detailed_name": "unique_ptr * local", - "hover": "unique_ptr *", "definition_spelling": "10:18-10:23", "definition_extent": "10:3-10:23", "variable_type": 0, diff --git a/tests/usage/type_usage_as_template_parameter_complex.cc b/tests/usage/type_usage_as_template_parameter_complex.cc index 6a7affbf..39aa9128 100644 --- a/tests/usage/type_usage_as_template_parameter_complex.cc +++ b/tests/usage/type_usage_as_template_parameter_complex.cc @@ -88,7 +88,6 @@ OUTPUT: "usr": "c:@ST>2#T#T@unique_ptr", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -101,7 +100,6 @@ OUTPUT: "usr": "c:@S@S1", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -114,7 +112,6 @@ OUTPUT: "usr": "c:@S@S2", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -127,7 +124,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "64:7-64:10", "definition_extent": "64:1-66:2", "parents": [], @@ -210,7 +206,6 @@ OUTPUT: "usr": "c:@f", "short_name": "f", "detailed_name": "unique_ptr, S2> f", - "hover": "unique_ptr, S2>", "declaration": "15:43-15:44", "variable_type": 0, "is_local": false, @@ -221,7 +216,6 @@ OUTPUT: "usr": "c:type_usage_as_template_parameter_complex.cc@1062@F@empty#@local", "short_name": "local", "detailed_name": "unique_ptr, S2> * local", - "hover": "unique_ptr, S2> *", "definition_spelling": "54:39-54:44", "definition_extent": "54:3-54:44", "variable_type": 0, diff --git a/tests/usage/type_usage_as_template_parameter_simple.cc b/tests/usage/type_usage_as_template_parameter_simple.cc index f7b5cd66..7c689a7d 100644 --- a/tests/usage/type_usage_as_template_parameter_simple.cc +++ b/tests/usage/type_usage_as_template_parameter_simple.cc @@ -15,7 +15,6 @@ OUTPUT: "usr": "c:@ST>1#T@unique_ptr", "short_name": "unique_ptr", "detailed_name": "unique_ptr", - "hover": "unique_ptr", "definition_spelling": "2:7-2:17", "definition_extent": "2:1-2:20", "parents": [], @@ -30,7 +29,6 @@ OUTPUT: "usr": "c:@S@S", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -45,7 +43,6 @@ OUTPUT: "usr": "c:type_usage_as_template_parameter_simple.cc@foo", "short_name": "foo", "detailed_name": "unique_ptr foo", - "hover": "unique_ptr", "definition_spelling": "6:22-6:25", "definition_extent": "6:1-6:25", "variable_type": 0, diff --git a/tests/usage/type_usage_declare_extern.cc b/tests/usage/type_usage_declare_extern.cc index c11a74fe..60b12a32 100644 --- a/tests/usage/type_usage_declare_extern.cc +++ b/tests/usage/type_usage_declare_extern.cc @@ -11,7 +11,6 @@ OUTPUT: "usr": "c:@S@T", "short_name": "T", "detailed_name": "T", - "hover": "T", "definition_spelling": "1:8-1:9", "definition_extent": "1:1-1:12", "parents": [], @@ -28,7 +27,6 @@ OUTPUT: "usr": "c:@t", "short_name": "t", "detailed_name": "T t", - "hover": "T", "declaration": "3:10-3:11", "variable_type": 0, "is_local": false, diff --git a/tests/usage/type_usage_declare_field.cc b/tests/usage/type_usage_declare_field.cc index b6d0915a..1701224e 100644 --- a/tests/usage/type_usage_declare_field.cc +++ b/tests/usage/type_usage_declare_field.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@S@ForwardType", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -29,7 +28,6 @@ OUTPUT: "usr": "c:@S@ImplementedType", "short_name": "ImplementedType", "detailed_name": "ImplementedType", - "hover": "ImplementedType", "definition_spelling": "2:8-2:23", "definition_extent": "2:1-2:26", "parents": [], @@ -44,7 +42,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "4:8-4:11", "definition_extent": "4:1-7:2", "parents": [], @@ -61,7 +58,6 @@ OUTPUT: "usr": "c:@S@Foo@FI@a", "short_name": "a", "detailed_name": "ForwardType * Foo::a", - "hover": "ForwardType *", "definition_spelling": "5:16-5:17", "definition_extent": "5:3-5:17", "variable_type": 0, @@ -74,7 +70,6 @@ OUTPUT: "usr": "c:@S@Foo@FI@b", "short_name": "b", "detailed_name": "ImplementedType Foo::b", - "hover": "ImplementedType", "definition_spelling": "6:19-6:20", "definition_extent": "6:3-6:20", "variable_type": 1, diff --git a/tests/usage/type_usage_declare_local.cc b/tests/usage/type_usage_declare_local.cc index 223cabf0..22da87bf 100644 --- a/tests/usage/type_usage_declare_local.cc +++ b/tests/usage/type_usage_declare_local.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@S@ForwardType", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -29,7 +28,6 @@ OUTPUT: "usr": "c:@S@ImplementedType", "short_name": "ImplementedType", "detailed_name": "ImplementedType", - "hover": "ImplementedType", "definition_spelling": "2:8-2:23", "definition_extent": "2:1-2:26", "parents": [], @@ -61,7 +59,6 @@ OUTPUT: "usr": "c:type_usage_declare_local.cc@67@F@Foo#@a", "short_name": "a", "detailed_name": "ForwardType * a", - "hover": "ForwardType *", "definition_spelling": "5:16-5:17", "definition_extent": "5:3-5:17", "variable_type": 0, @@ -73,7 +70,6 @@ OUTPUT: "usr": "c:type_usage_declare_local.cc@86@F@Foo#@b", "short_name": "b", "detailed_name": "ImplementedType b", - "hover": "ImplementedType", "definition_spelling": "6:19-6:20", "definition_extent": "6:3-6:20", "variable_type": 1, diff --git a/tests/usage/type_usage_declare_param.cc b/tests/usage/type_usage_declare_param.cc index 8f843829..55c240f5 100644 --- a/tests/usage/type_usage_declare_param.cc +++ b/tests/usage/type_usage_declare_param.cc @@ -13,7 +13,6 @@ OUTPUT: "usr": "c:@S@ForwardType", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -26,7 +25,6 @@ OUTPUT: "usr": "c:@S@ImplementedType", "short_name": "ImplementedType", "detailed_name": "ImplementedType", - "hover": "ImplementedType", "definition_spelling": "2:8-2:23", "definition_extent": "2:1-2:26", "parents": [], @@ -58,7 +56,6 @@ OUTPUT: "usr": "c:type_usage_declare_param.cc@60@F@foo#*$@S@ForwardType#$@S@ImplementedType#@f", "short_name": "f", "detailed_name": "ForwardType * f", - "hover": "ForwardType *", "definition_spelling": "4:23-4:24", "definition_extent": "4:10-4:24", "variable_type": 0, @@ -70,7 +67,6 @@ OUTPUT: "usr": "c:type_usage_declare_param.cc@76@F@foo#*$@S@ForwardType#$@S@ImplementedType#@a", "short_name": "a", "detailed_name": "ImplementedType a", - "hover": "ImplementedType", "definition_spelling": "4:42-4:43", "definition_extent": "4:26-4:43", "variable_type": 1, diff --git a/tests/usage/type_usage_declare_param_prototype.cc b/tests/usage/type_usage_declare_param_prototype.cc index cf3a7a44..45d9d1d3 100644 --- a/tests/usage/type_usage_declare_param_prototype.cc +++ b/tests/usage/type_usage_declare_param_prototype.cc @@ -18,7 +18,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -53,7 +52,6 @@ OUTPUT: "usr": "c:type_usage_declare_param_prototype.cc@49@F@foo#*$@S@Foo#S0_#@f", "short_name": "f", "detailed_name": "Foo * f", - "hover": "Foo *", "definition_spelling": "4:15-4:16", "definition_extent": "4:10-4:16", "variable_type": 0, diff --git a/tests/usage/type_usage_declare_param_unnamed.cc b/tests/usage/type_usage_declare_param_unnamed.cc index a4fb5a21..685c0127 100644 --- a/tests/usage/type_usage_declare_param_unnamed.cc +++ b/tests/usage/type_usage_declare_param_unnamed.cc @@ -10,7 +10,6 @@ OUTPUT: "usr": "c:@S@ForwardType", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], diff --git a/tests/usage/type_usage_declare_qualifiers.cc b/tests/usage/type_usage_declare_qualifiers.cc index 475f62d3..3035bb73 100644 --- a/tests/usage/type_usage_declare_qualifiers.cc +++ b/tests/usage/type_usage_declare_qualifiers.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@S@Type", "short_name": "Type", "detailed_name": "Type", - "hover": "Type", "definition_spelling": "1:8-1:12", "definition_extent": "1:1-1:15", "parents": [], @@ -48,7 +47,6 @@ OUTPUT: "usr": "c:type_usage_declare_qualifiers.cc@28@F@foo#&$@S@Type#&1S1_#@a0", "short_name": "a0", "detailed_name": "Type & a0", - "hover": "Type &", "definition_spelling": "3:16-3:18", "definition_extent": "3:10-3:18", "variable_type": 0, @@ -60,7 +58,6 @@ OUTPUT: "usr": "c:type_usage_declare_qualifiers.cc@38@F@foo#&$@S@Type#&1S1_#@a1", "short_name": "a1", "detailed_name": "const Type & a1", - "hover": "const Type &", "definition_spelling": "3:32-3:34", "definition_extent": "3:20-3:34", "variable_type": 0, @@ -72,7 +69,6 @@ OUTPUT: "usr": "c:type_usage_declare_qualifiers.cc@59@F@foo#&$@S@Type#&1S1_#@a2", "short_name": "a2", "detailed_name": "Type a2", - "hover": "Type", "definition_spelling": "4:8-4:10", "definition_extent": "4:3-4:10", "variable_type": 0, @@ -84,7 +80,6 @@ OUTPUT: "usr": "c:type_usage_declare_qualifiers.cc@71@F@foo#&$@S@Type#&1S1_#@a3", "short_name": "a3", "detailed_name": "Type * a3", - "hover": "Type *", "definition_spelling": "5:9-5:11", "definition_extent": "5:3-5:11", "variable_type": 0, @@ -96,7 +91,6 @@ OUTPUT: "usr": "c:type_usage_declare_qualifiers.cc@84@F@foo#&$@S@Type#&1S1_#@a4", "short_name": "a4", "detailed_name": "const Type * a4", - "hover": "const Type *", "definition_spelling": "6:15-6:17", "definition_extent": "6:3-6:17", "variable_type": 0, @@ -108,7 +102,6 @@ OUTPUT: "usr": "c:type_usage_declare_qualifiers.cc@103@F@foo#&$@S@Type#&1S1_#@a5", "short_name": "a5", "detailed_name": "const Type *const a5", - "hover": "const Type *const", "definition_spelling": "7:21-7:23", "definition_extent": "7:3-7:33", "variable_type": 0, diff --git a/tests/usage/type_usage_declare_static.cc b/tests/usage/type_usage_declare_static.cc index 18fdeca8..83acc17b 100644 --- a/tests/usage/type_usage_declare_static.cc +++ b/tests/usage/type_usage_declare_static.cc @@ -10,7 +10,6 @@ OUTPUT: "usr": "c:@S@Type", "short_name": "Type", "detailed_name": "Type", - "hover": "Type", "definition_spelling": "1:8-1:12", "definition_extent": "1:1-1:15", "parents": [], @@ -27,7 +26,6 @@ OUTPUT: "usr": "c:type_usage_declare_static.cc@t", "short_name": "t", "detailed_name": "Type t", - "hover": "Type", "definition_spelling": "2:13-2:14", "definition_extent": "2:1-2:14", "variable_type": 0, diff --git a/tests/usage/type_usage_on_return_type.cc b/tests/usage/type_usage_on_return_type.cc index 31b39193..eb7741ce 100644 --- a/tests/usage/type_usage_on_return_type.cc +++ b/tests/usage/type_usage_on_return_type.cc @@ -27,7 +27,6 @@ OUTPUT: "usr": "c:@S@Type", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -40,7 +39,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "7:7-7:10", "definition_extent": "7:1-10:2", "parents": [], diff --git a/tests/usage/type_usage_typedef_and_using.cc b/tests/usage/type_usage_typedef_and_using.cc index f175429d..37203884 100644 --- a/tests/usage/type_usage_typedef_and_using.cc +++ b/tests/usage/type_usage_typedef_and_using.cc @@ -19,7 +19,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], diff --git a/tests/usage/type_usage_typedef_and_using_template.cc b/tests/usage/type_usage_typedef_and_using_template.cc index 8e987019..be3f5227 100644 --- a/tests/usage/type_usage_typedef_and_using_template.cc +++ b/tests/usage/type_usage_typedef_and_using_template.cc @@ -14,7 +14,6 @@ OUTPUT: "usr": "c:@ST>1#T@Foo", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], diff --git a/tests/usage/type_usage_various.cc b/tests/usage/type_usage_various.cc index 581dc8f0..ba91da37 100644 --- a/tests/usage/type_usage_various.cc +++ b/tests/usage/type_usage_various.cc @@ -19,7 +19,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-3:2", "parents": [], @@ -57,7 +56,6 @@ OUTPUT: "usr": "c:type_usage_various.cc@57@S@Foo@F@make#@f", "short_name": "f", "detailed_name": "Foo f", - "hover": "Foo", "definition_spelling": "6:7-6:8", "definition_extent": "6:3-6:8", "variable_type": 0, @@ -69,7 +67,6 @@ OUTPUT: "usr": "c:@foo", "short_name": "foo", "detailed_name": "Foo foo", - "hover": "Foo", "declaration": "10:12-10:15", "variable_type": 0, "is_local": false, diff --git a/tests/usage/usage_inside_of_call.cc b/tests/usage/usage_inside_of_call.cc index b2ee4bcb..6253fb56 100644 --- a/tests/usage/usage_inside_of_call.cc +++ b/tests/usage/usage_inside_of_call.cc @@ -24,7 +24,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "5:8-5:11", "definition_extent": "5:1-8:2", "parents": [], @@ -92,7 +91,6 @@ OUTPUT: "usr": "c:@S@Foo@static_var", "short_name": "static_var", "detailed_name": "int Foo::static_var", - "hover": "int", "declaration": "6:14-6:24", "definition_spelling": "10:10-10:20", "definition_extent": "10:1-10:24", @@ -105,7 +103,6 @@ OUTPUT: "usr": "c:@S@Foo@FI@field_var", "short_name": "field_var", "detailed_name": "int Foo::field_var", - "hover": "int", "definition_spelling": "7:7-7:16", "definition_extent": "7:3-7:16", "declaring_type": 0, @@ -117,7 +114,6 @@ OUTPUT: "usr": "c:usage_inside_of_call.cc@145@F@foo#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "13:7-13:8", "definition_extent": "13:3-13:12", "is_local": true, diff --git a/tests/usage/var_usage_call_function.cc b/tests/usage/var_usage_call_function.cc index e0f3e320..4142699c 100644 --- a/tests/usage/var_usage_call_function.cc +++ b/tests/usage/var_usage_call_function.cc @@ -49,7 +49,6 @@ OUTPUT: "usr": "c:var_usage_call_function.cc@39@F@caller#@x", "short_name": "x", "detailed_name": "void (*)() x", - "hover": "void (*)()", "definition_spelling": "4:8-4:9", "definition_extent": "4:3-4:19", "is_local": true, diff --git a/tests/usage/var_usage_class_member.cc b/tests/usage/var_usage_class_member.cc index 614e7f07..52e1a165 100644 --- a/tests/usage/var_usage_class_member.cc +++ b/tests/usage/var_usage_class_member.cc @@ -27,7 +27,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-5:2", "parents": [], @@ -95,7 +94,6 @@ OUTPUT: "usr": "c:@S@Foo@FI@x", "short_name": "x", "detailed_name": "int Foo::x", - "hover": "int", "definition_spelling": "3:7-3:8", "definition_extent": "3:3-3:8", "declaring_type": 0, @@ -107,7 +105,6 @@ OUTPUT: "usr": "c:@S@Foo@FI@y", "short_name": "y", "detailed_name": "int Foo::y", - "hover": "int", "definition_spelling": "4:7-4:8", "definition_extent": "4:3-4:8", "declaring_type": 0, @@ -119,7 +116,6 @@ OUTPUT: "usr": "c:var_usage_class_member.cc@105@F@foo#@f", "short_name": "f", "detailed_name": "Foo f", - "hover": "Foo", "definition_spelling": "11:7-11:8", "definition_extent": "11:3-11:8", "variable_type": 0, diff --git a/tests/usage/var_usage_class_member_static.cc b/tests/usage/var_usage_class_member_static.cc index 26b46295..65a9d277 100644 --- a/tests/usage/var_usage_class_member_static.cc +++ b/tests/usage/var_usage_class_member_static.cc @@ -18,7 +18,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:8-1:11", "definition_extent": "1:1-3:2", "parents": [], @@ -68,7 +67,6 @@ OUTPUT: "usr": "c:@S@Foo@x", "short_name": "x", "detailed_name": "int Foo::x", - "hover": "int", "declaration": "2:14-2:15", "is_local": false, "is_macro": false, diff --git a/tests/usage/var_usage_cstyle_cast.cc b/tests/usage/var_usage_cstyle_cast.cc index f22392eb..00148c10 100644 --- a/tests/usage/var_usage_cstyle_cast.cc +++ b/tests/usage/var_usage_cstyle_cast.cc @@ -17,7 +17,6 @@ OUTPUT: "usr": "c:@E@VarType", "short_name": "VarType", "detailed_name": "VarType", - "hover": "VarType", "definition_spelling": "1:6-1:13", "definition_extent": "1:1-1:16", "parents": [], @@ -32,7 +31,6 @@ OUTPUT: "usr": "c:@S@Holder", "short_name": "Holder", "detailed_name": "Holder", - "hover": "Holder", "definition_spelling": "3:8-3:14", "definition_extent": "3:1-5:2", "parents": [], @@ -49,7 +47,6 @@ OUTPUT: "usr": "c:@S@Holder@static_var", "short_name": "static_var", "detailed_name": "const VarType Holder::static_var", - "hover": "const VarType", "declaration": "4:28-4:38", "definition_spelling": "7:23-7:33", "definition_extent": "7:1-7:33", diff --git a/tests/usage/var_usage_extern.cc b/tests/usage/var_usage_extern.cc index e6786a46..27a0221e 100644 --- a/tests/usage/var_usage_extern.cc +++ b/tests/usage/var_usage_extern.cc @@ -30,7 +30,6 @@ OUTPUT: "usr": "c:@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "declaration": "1:12-1:13", "is_local": false, "is_macro": false, diff --git a/tests/usage/var_usage_func_parameter.cc b/tests/usage/var_usage_func_parameter.cc index 05a90855..e9279741 100644 --- a/tests/usage/var_usage_func_parameter.cc +++ b/tests/usage/var_usage_func_parameter.cc @@ -28,7 +28,6 @@ OUTPUT: "usr": "c:var_usage_func_parameter.cc@9@F@foo#I#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "1:14-1:15", "definition_extent": "1:10-1:15", "is_local": true, diff --git a/tests/usage/var_usage_local.cc b/tests/usage/var_usage_local.cc index 80c7731a..e750a3bf 100644 --- a/tests/usage/var_usage_local.cc +++ b/tests/usage/var_usage_local.cc @@ -29,7 +29,6 @@ OUTPUT: "usr": "c:var_usage_local.cc@16@F@foo#@x", "short_name": "x", "detailed_name": "int x", - "hover": "int", "definition_spelling": "2:7-2:8", "definition_extent": "2:3-2:8", "is_local": true, diff --git a/tests/usage/var_usage_shadowed_local.cc b/tests/usage/var_usage_shadowed_local.cc index 7a616593..97123d06 100644 --- a/tests/usage/var_usage_shadowed_local.cc +++ b/tests/usage/var_usage_shadowed_local.cc @@ -34,7 +34,6 @@ OUTPUT: "usr": "c:var_usage_shadowed_local.cc@16@F@foo#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "2:7-2:8", "definition_extent": "2:3-2:8", "is_local": true, @@ -45,7 +44,6 @@ OUTPUT: "usr": "c:var_usage_shadowed_local.cc@43@F@foo#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "5:9-5:10", "definition_extent": "5:5-5:10", "is_local": true, diff --git a/tests/usage/var_usage_shadowed_parameter.cc b/tests/usage/var_usage_shadowed_parameter.cc index 27c3677d..9f4b1a18 100644 --- a/tests/usage/var_usage_shadowed_parameter.cc +++ b/tests/usage/var_usage_shadowed_parameter.cc @@ -34,7 +34,6 @@ OUTPUT: "usr": "c:var_usage_shadowed_parameter.cc@9@F@foo#I#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "1:14-1:15", "definition_extent": "1:10-1:15", "is_local": true, @@ -45,7 +44,6 @@ OUTPUT: "usr": "c:var_usage_shadowed_parameter.cc@38@F@foo#I#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "4:9-4:10", "definition_extent": "4:5-4:10", "is_local": true, diff --git a/tests/usage/var_usage_static.cc b/tests/usage/var_usage_static.cc index 4665bc97..96bd34be 100644 --- a/tests/usage/var_usage_static.cc +++ b/tests/usage/var_usage_static.cc @@ -31,7 +31,6 @@ OUTPUT: "usr": "c:var_usage_static.cc@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "1:12-1:13", "definition_extent": "1:1-1:13", "is_local": false, diff --git a/tests/vars/class_member.cc b/tests/vars/class_member.cc index 3ee05ffb..57bcdce1 100644 --- a/tests/vars/class_member.cc +++ b/tests/vars/class_member.cc @@ -11,7 +11,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-3:2", "parents": [], @@ -28,7 +27,6 @@ OUTPUT: "usr": "c:@S@Foo@FI@member", "short_name": "member", "detailed_name": "Foo * Foo::member", - "hover": "Foo *", "definition_spelling": "2:8-2:14", "definition_extent": "2:3-2:14", "variable_type": 0, diff --git a/tests/vars/class_static_member.cc b/tests/vars/class_static_member.cc index 6c63d1be..0077e7a6 100644 --- a/tests/vars/class_static_member.cc +++ b/tests/vars/class_static_member.cc @@ -13,7 +13,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-3:2", "parents": [], @@ -30,7 +29,6 @@ OUTPUT: "usr": "c:@S@Foo@member", "short_name": "member", "detailed_name": "Foo * Foo::member", - "hover": "Foo *", "declaration": "2:15-2:21", "definition_spelling": "4:11-4:17", "definition_extent": "4:1-4:27", diff --git a/tests/vars/class_static_member_decl_only.cc b/tests/vars/class_static_member_decl_only.cc index 2b4ed08c..9de79129 100644 --- a/tests/vars/class_static_member_decl_only.cc +++ b/tests/vars/class_static_member_decl_only.cc @@ -11,7 +11,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-3:2", "parents": [], @@ -28,7 +27,6 @@ OUTPUT: "usr": "c:@S@Foo@member", "short_name": "member", "detailed_name": "int Foo::member", - "hover": "int", "declaration": "2:14-2:20", "is_local": false, "is_macro": false, diff --git a/tests/vars/deduce_auto_type.cc b/tests/vars/deduce_auto_type.cc index 38e18e2b..af558b4f 100644 --- a/tests/vars/deduce_auto_type.cc +++ b/tests/vars/deduce_auto_type.cc @@ -14,7 +14,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", - "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-1:13", "parents": [], @@ -46,7 +45,6 @@ OUTPUT: "usr": "c:deduce_auto_type.cc@29@F@f#@x", "short_name": "x", "detailed_name": "Foo * x", - "hover": "Foo *", "definition_spelling": "3:8-3:9", "definition_extent": "3:3-3:21", "variable_type": 0, @@ -58,7 +56,6 @@ OUTPUT: "usr": "c:deduce_auto_type.cc@52@F@f#@y", "short_name": "y", "detailed_name": "Foo * y", - "hover": "Foo *", "definition_spelling": "4:9-4:10", "definition_extent": "4:3-4:22", "variable_type": 0, diff --git a/tests/vars/function_local.cc b/tests/vars/function_local.cc index c4cb02dc..9780c529 100644 --- a/tests/vars/function_local.cc +++ b/tests/vars/function_local.cc @@ -14,7 +14,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -44,7 +43,6 @@ OUTPUT: "usr": "c:function_local.cc@31@F@foo#@a", "short_name": "a", "detailed_name": "Foo * a", - "hover": "Foo *", "definition_spelling": "4:8-4:9", "definition_extent": "4:3-4:9", "variable_type": 0, diff --git a/tests/vars/function_param.cc b/tests/vars/function_param.cc index 3b50c8cc..0925f735 100644 --- a/tests/vars/function_param.cc +++ b/tests/vars/function_param.cc @@ -12,7 +12,6 @@ OUTPUT: "usr": "c:@S@Foo", "short_name": "", "detailed_name": "", - "hover": "", "parents": [], "derived": [], "types": [], @@ -42,7 +41,6 @@ OUTPUT: "usr": "c:function_param.cc@24@F@foo#*$@S@Foo#S0_#@p0", "short_name": "p0", "detailed_name": "Foo * p0", - "hover": "Foo *", "definition_spelling": "3:15-3:17", "definition_extent": "3:10-3:17", "variable_type": 0, @@ -54,7 +52,6 @@ OUTPUT: "usr": "c:function_param.cc@33@F@foo#*$@S@Foo#S0_#@p1", "short_name": "p1", "detailed_name": "Foo * p1", - "hover": "Foo *", "definition_spelling": "3:24-3:26", "definition_extent": "3:19-3:26", "variable_type": 0, diff --git a/tests/vars/function_shadow_local.cc b/tests/vars/function_shadow_local.cc index c6449a19..c49194c7 100644 --- a/tests/vars/function_shadow_local.cc +++ b/tests/vars/function_shadow_local.cc @@ -34,7 +34,6 @@ OUTPUT: "usr": "c:function_shadow_local.cc@16@F@foo#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "2:7-2:8", "definition_extent": "2:3-2:8", "is_local": true, @@ -45,7 +44,6 @@ OUTPUT: "usr": "c:function_shadow_local.cc@43@F@foo#@a", "short_name": "a", "detailed_name": "int a", - "hover": "int", "definition_spelling": "5:9-5:10", "definition_extent": "5:5-5:10", "is_local": true, diff --git a/tests/vars/function_shadow_param.cc b/tests/vars/function_shadow_param.cc index 6168ead5..d249011f 100644 --- a/tests/vars/function_shadow_param.cc +++ b/tests/vars/function_shadow_param.cc @@ -28,7 +28,6 @@ OUTPUT: "usr": "c:function_shadow_param.cc@9@F@foo#I#@p", "short_name": "p", "detailed_name": "int p", - "hover": "int", "definition_spelling": "1:14-1:15", "definition_extent": "1:10-1:15", "is_local": true, @@ -39,7 +38,6 @@ OUTPUT: "usr": "c:function_shadow_param.cc@23@F@foo#I#@p", "short_name": "p", "detailed_name": "int p", - "hover": "int", "definition_spelling": "2:9-2:10", "definition_extent": "2:5-2:14", "is_local": true, diff --git a/tests/vars/global_variable.cc b/tests/vars/global_variable.cc index 95a242fb..574601ac 100644 --- a/tests/vars/global_variable.cc +++ b/tests/vars/global_variable.cc @@ -11,7 +11,6 @@ OUTPUT: "usr": "c:global_variable.cc@global", "short_name": "global", "detailed_name": "int global", - "hover": "int", "definition_spelling": "1:12-1:18", "definition_extent": "1:1-1:22", "is_local": false, diff --git a/tests/vars/global_variable_decl_only.cc b/tests/vars/global_variable_decl_only.cc index 60da44d9..3d4071f3 100644 --- a/tests/vars/global_variable_decl_only.cc +++ b/tests/vars/global_variable_decl_only.cc @@ -11,7 +11,6 @@ OUTPUT: "usr": "c:@global", "short_name": "global", "detailed_name": "int global", - "hover": "int", "declaration": "1:12-1:18", "is_local": false, "is_macro": false, diff --git a/tests/vars/type_instance_on_using_type.cc b/tests/vars/type_instance_on_using_type.cc index 3a96ebc2..1ee851ae 100644 --- a/tests/vars/type_instance_on_using_type.cc +++ b/tests/vars/type_instance_on_using_type.cc @@ -16,7 +16,6 @@ OUTPUT: "usr": "c:@S@S", "short_name": "S", "detailed_name": "S", - "hover": "S", "definition_spelling": "1:8-1:9", "definition_extent": "1:1-1:12", "parents": [], @@ -64,7 +63,6 @@ OUTPUT: "usr": "c:type_instance_on_using_type.cc@44@F@Foo#@a", "short_name": "a", "detailed_name": "F a", - "hover": "F", "definition_spelling": "4:5-4:6", "definition_extent": "4:3-4:6", "variable_type": 1,