diff options
author | Przemyslaw Gorszkowski <[email protected]> | 2013-02-01 21:43:38 +0100 |
---|---|---|
committer | Przemyslaw Gorszkowski <[email protected]> | 2013-02-11 10:27:47 +0100 |
commit | 4c800b1b5af28ad6011187ea6f9c7abf6be986ae (patch) | |
tree | 04b49ef1a4afade1bb5af772ee85a9210366a088 /src/plugins/cpptools/cpptoolsplugin.h | |
parent | 432aaf005b2bc21206629fb48f6aac8157eab1fd (diff) |
C++: fix code completion for typedef of pointer
Fix code completion and highlighting member of typedefed pointers.
It works when typedef is inside or outside of the function.
Task-number: QTCREATORBUG-8671
Task-number: QTCREATORBUG-8672
Change-Id: I9cc87080bf443f7ffa6a90ef5ba582b87700f2db
Reviewed-by: Nikolai Kosjar <[email protected]>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.h')
-rw-r--r-- | src/plugins/cpptools/cpptoolsplugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h index 1477e4ae23b..a26ae0ef271 100644 --- a/src/plugins/cpptools/cpptoolsplugin.h +++ b/src/plugins/cpptools/cpptoolsplugin.h @@ -118,6 +118,9 @@ private slots: void test_completion_member_access_operator_1(); void test_completion_typedef_of_type_and_replace_access_operator(); void test_completion_typedef_of_pointer_of_type_and_replace_access_operator(); + void test_completion_typedef_of_pointer(); + void test_completion_typedef_of_pointer_inside_function(); + void test_completion_typedef_is_inside_function_before_declaration_block(); void test_format_pointerdeclaration_in_simpledeclarations(); void test_format_pointerdeclaration_in_simpledeclarations_data(); |