From 56966f3712b9ec2d790b7185d230d3193f261a62 Mon Sep 17 00:00:00 2001 From: Przemyslaw Gorszkowski Date: Wed, 21 Nov 2012 09:56:31 +0100 Subject: C++: Fix code completion for Qt containers This change solves only problem with Qt containers. stl containers need separate change. Problem was with predeclaration of template class after declaration of this template class. (there is unit test added which shows the problem). Task-number: QTCREATORBUG-8228 (cover only Qt containers) Change-Id: If1f76c88c955b7b55347d302b353f5cd52b244a4 Reviewed-by: Erik Verbruggen Conflicts: src/plugins/cpptools/cppcompletion_test.cpp Change-Id: I9f665276926f2e440ad0c92e94dd1aeee89005b3 Reviewed-by: Eike Ziller --- 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 4bfafddb31..597a6ab27c 100644 --- a/src/plugins/cpptools/cpptoolsplugin.h +++ b/src/plugins/cpptools/cpptoolsplugin.h @@ -96,6 +96,7 @@ private slots: void test_completion_template_3(); void test_completion_template_4(); void test_completion_template_5(); + void test_completion_template_6(); void test_completion_template_as_base(); void test_completion_template_as_base_data(); void test_completion_use_global_identifier_as_base_class(); -- cgit v1.2.1