aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppeditorplugin.h
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-07-15 15:49:06 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2020-07-16 11:11:58 +0000
commit1e0b82e77da2b5c692eba0d4a651324d2885ce26 (patch)
treea425644c35a5a0c758d978f90de47f54b53a13d6 /src/plugins/cppeditor/cppeditorplugin.h
parentd3d683ec6346d518f2bf6b9a23feab1c19a62a95 (diff)
CppEditor: Fix possible wrong location for function definitions
Having no namespace when inserting generated functions may insert explicitly at the end of a header which is not always desired as we need to take care of e.g. header guards as well. Change-Id: I3b154ae936a96f2f8e7e34cda6b5bcdfcbc83faf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppeditorplugin.h')
-rw-r--r--src/plugins/cppeditor/cppeditorplugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppeditorplugin.h b/src/plugins/cppeditor/cppeditorplugin.h
index d04335d60d..acc97f1082 100644
--- a/src/plugins/cppeditor/cppeditorplugin.h
+++ b/src/plugins/cppeditor/cppeditorplugin.h
@@ -109,6 +109,7 @@ private slots:
void test_quickfix_GenerateGetterSetter_onlyGetter_DontPreferGetterWithGet();
void test_quickfix_GenerateGetterSetter_onlySetter();
void test_quickfix_GenerateGetterSetter_onlySetterHeaderFile();
+ void test_quickfix_GenerateGetterSetter_onlySetterHeaderFileWithIncludeGuard();
void test_quickfix_GenerateGetterSetter_offerGetterWhenSetterPresent();
void test_quickfix_GenerateGetterSetter_offerSetterWhenGetterPresent();
void test_quickfix_GenerateGettersSetters_data();