summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-11-21 13:00:44 +0100
committerIvan Donchevskii <ivan.donchevskii@qt.io>2018-11-27 10:20:52 +0000
commite5c2b30e903eefe052c74cdcf91bda0cfb1874db (patch)
tree41f7e65b6825b58f470c54bc0c7a93d7e6da4b97 /tests
parentf1634df8b303fb2b107913c0deb16e1c5d42c111 (diff)
downloadqt-creator-e5c2b30e903eefe052c74cdcf91bda0cfb1874db.tar.gz
ClangFormat: Enable BreakStringLiterals in .clang-format
Change-Id: Icbd601c236cb5ad620d1bc7217a8629fe50a0046 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/clang-format-for-qtc/test.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/manual/clang-format-for-qtc/test.cpp b/tests/manual/clang-format-for-qtc/test.cpp
index e5afaff130..b3cf22eaca 100644
--- a/tests/manual/clang-format-for-qtc/test.cpp
+++ b/tests/manual/clang-format-for-qtc/test.cpp
@@ -656,7 +656,11 @@ void extremeFunction(
++uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuunbelievableLongValue;
extremeFunction(
- "some super duper super duper super duper super duper super duper super duper super duper long");
+ "some super duper super duper super duper super duper super duper super duper long");
+
+ // BreakStringLiterals splits the string.
+ extremeFunction("some super duper super duper super duper super duper super duper super duper "
+ "super duper long");
}
void extremeFunction2(int parameter1,