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>
This commit is contained in:
Ivan Donchevskii
2018-11-21 13:00:44 +01:00
parent f1634df8b3
commit e5c2b30e90
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeComma
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: false
BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
+5 -1
View File
@@ -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,