aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/cpptoolsplugin.h
diff options
context:
space:
mode:
authorPrzemyslaw Gorszkowski <[email protected]>2013-02-19 08:44:44 +0100
committerErik Verbruggen <[email protected]>2013-02-21 16:32:25 +0100
commitea32191542ad0d2f9f02ad77ad38f94b5152e04e (patch)
treec826d51627f3e241abf732fe2ebbae786454b547 /src/plugins/cpptools/cpptoolsplugin.h
parent195d39242d4b5159c03013542244b3fe4b0e1e43 (diff)
C++: fix instantiation of template special. with pointer argument
Fixed code completion for instantiation of template specialization with argument as pointer, e.g.: template <typename T> struct Template { T variable; }; template <typename T> struct Template<T *> { T *pointer; }; Template<int*> templ; templ.pointer; Change-Id: I7c79fe0cd7119b1208f064aece0cafdf50e1a012 Reviewed-by: Erik Verbruggen <[email protected]>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.h')
-rw-r--r--src/plugins/cpptools/cpptoolsplugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h
index e7eae03882a..fd9f18b7e8c 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();