From ea32191542ad0d2f9f02ad77ad38f94b5152e04e Mon Sep 17 00:00:00 2001 From: Przemyslaw Gorszkowski Date: Tue, 19 Feb 2013 08:44:44 +0100 Subject: C++: fix instantiation of template special. with pointer argument Fixed code completion for instantiation of template specialization with argument as pointer, e.g.: template struct Template { T variable; }; template struct Template { T *pointer; }; Template templ; templ.pointer; Change-Id: I7c79fe0cd7119b1208f064aece0cafdf50e1a012 Reviewed-by: Erik Verbruggen --- src/plugins/cpptools/cpptoolsplugin.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/cpptools/cpptoolsplugin.h') diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h index e7eae03882..fd9f18b7e8 100644 --- a/src/plugins/cpptools/cpptoolsplugin.h +++ b/src/plugins/cpptools/cpptoolsplugin.h @@ -123,6 +123,7 @@ private slots: void test_completion_typedef_of_pointer_inside_function(); void test_completion_typedef_is_inside_function_before_declaration_block(); void test_completion_resolve_complex_typedef_with_template(); + void test_completion_template_specialization_with_pointer(); void test_format_pointerdeclaration_in_simpledeclarations(); void test_format_pointerdeclaration_in_simpledeclarations_data(); -- cgit v1.2.1