aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/cpptoolsplugin.h
diff options
context:
space:
mode:
authorPrzemyslaw Gorszkowski <[email protected]>2013-05-19 07:23:57 +0200
committerErik Verbruggen <[email protected]>2013-05-24 11:35:11 +0200
commit80e1ae805982c8dd9b34903accb9ed3449337a63 (patch)
tree7aeb2900f61217bfab4170f096a15dc1b618b530 /src/plugins/cpptools/cpptoolsplugin.h
parent2e9f6a7935f0a725f357245b1cd0e7bfe8792d73 (diff)
C++: fix crash during code completion with base template class
ResolveExpression has to have a reference of ContextLookup. If not there will be a crash because of deleted instanitated base template class. Task-number: QTCREATORBUG-9329 Change-Id: I7f8c83da0d81ac6311e76d15a897adbc70b08d75 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 e5ef47ec3e2..bf9c9b67a5b 100644
--- a/src/plugins/cpptools/cpptoolsplugin.h
+++ b/src/plugins/cpptools/cpptoolsplugin.h
@@ -127,6 +127,7 @@ private slots:
void test_completion_typedef_using_templates1();
void test_completion_typedef_using_templates2();
void test_completion_namespace_alias_with_many_namespace_declarations();
+ void test_completion_crash_cloning_template_class_QTCREATORBUG9329();
void test_format_pointerdeclaration_in_simpledeclarations();
void test_format_pointerdeclaration_in_simpledeclarations_data();