diff options
author | Przemyslaw Gorszkowski <[email protected]> | 2013-02-21 15:06:02 +0100 |
---|---|---|
committer | Erik Verbruggen <[email protected]> | 2013-02-21 16:44:13 +0100 |
commit | 798d84b391817d1d32fa571d00d3d4c859f9c1fd (patch) | |
tree | 6c6142c81ded6cb83d7742ed4b8d3ce078382abe /src/plugins/cpptools/cpptoolsplugin.h | |
parent | ea32191542ad0d2f9f02ad77ad38f94b5152e04e (diff) |
C++: fix 'using' for templates in typedefs
Fix resolving typedef of templates which is from different namespace
and there was 'using' used for it.
Examples are in tests.
Another step to bring code completion for stl containters.
Task-number: QTCREATORBUG-7978
Change-Id: I2e9e71b45d60536c1e25cf2d371c4719b15edf79
Reviewed-by: Erik Verbruggen <[email protected]>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.h')
-rw-r--r-- | src/plugins/cpptools/cpptoolsplugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h index fd9f18b7e8c..fcb4d417e32 100644 --- a/src/plugins/cpptools/cpptoolsplugin.h +++ b/src/plugins/cpptools/cpptoolsplugin.h @@ -124,6 +124,8 @@ private slots: 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_completion_typedef_using_templates1(); + void test_completion_typedef_using_templates2(); void test_format_pointerdeclaration_in_simpledeclarations(); void test_format_pointerdeclaration_in_simpledeclarations_data(); |