clang-format: turn off BreakBeforeBinaryOperators
Improve readability by not suggesting changes like: - if (JsonUtil::findJSONValue(object, "Url", url) && - JsonUtil::findJSONValue(object, "Name", filename)) + if (JsonUtil::findJSONValue(object, "Url", url) + && JsonUtil::findJSONValue(object, "Name", filename)) Note that clang-format is never enforced (we never re-format existing code), but your editor may respect it for new code. Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: Id6679220f83b77a4c63ca9a9429052535c75939apull/2118/head
parent
80c6562e59
commit
9e331465d9
|
@ -7,7 +7,7 @@ AllowShortIfStatementsOnASingleLine: false
|
||||||
AllowShortLoopsOnASingleLine: false
|
AllowShortLoopsOnASingleLine: false
|
||||||
AlwaysBreakTemplateDeclarations: false
|
AlwaysBreakTemplateDeclarations: false
|
||||||
AlwaysBreakBeforeMultilineStrings: false
|
AlwaysBreakBeforeMultilineStrings: false
|
||||||
BreakBeforeBinaryOperators: true
|
BreakBeforeBinaryOperators: None
|
||||||
BreakBeforeTernaryOperators: true
|
BreakBeforeTernaryOperators: true
|
||||||
BreakConstructorInitializersBeforeComma: true
|
BreakConstructorInitializersBeforeComma: true
|
||||||
BinPackParameters: true
|
BinPackParameters: true
|
||||||
|
|
Loading…
Reference in New Issue