summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolsplugin.h
diff options
context:
space:
mode:
authorPrzemyslaw Gorszkowski <pgorszkowski@gmail.com>2013-10-10 12:43:24 +0200
committerNikolai Kosjar <nikolai.kosjar@digia.com>2013-10-17 11:43:27 +0200
commit5be56c073e1197e1da47a0ad597a6e054c0dfa65 (patch)
treea5abf8558f31887ba29c181d03c391ff6e2c49ed /src/plugins/cpptools/cpptoolsplugin.h
parent0224ec0a649727880895ec42800b875773157161 (diff)
downloadqt-creator-5be56c073e1197e1da47a0ad597a6e054c0dfa65.tar.gz
C++: fix endless loop during template instantiation
This is the first phase of fixing bug QTCREATORBUG-10320. This change resolves typedefs of template parameters(and resolves problem with endless loop). The next step will be matching appropriate template specialization (this is needed to solve problem with missing code completion). Missing matching: template specialization with the same parameters, e.g.: template <class T1, class T2, class T3> class T { }; template <class T1, class T2> class T<T1, T2, T2> { }; Task-number: QTCREATORBUG-10320 Change-Id: Icb6b539c021b2a67a66db9011a2e627f7d96526b Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.h')
-rw-r--r--src/plugins/cpptools/cpptoolsplugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h
index da09cbe15e..2c30baf90f 100644
--- a/src/plugins/cpptools/cpptoolsplugin.h
+++ b/src/plugins/cpptools/cpptoolsplugin.h
@@ -184,6 +184,9 @@ private slots:
void test_completion_local_type_and_member_5();
void test_completion_local_type_and_member_6();
+ void test_completion_recursive_typedefs_in_templates1();
+ void test_completion_recursive_typedefs_in_templates2();
+
void test_completion_signals_hide_QPrivateSignal();
void test_format_pointerdeclaration_in_simpledeclarations();