diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-04-23 09:14:54 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-04-23 09:51:06 +0200 |
commit | 9e331465d9f61fc04bd33cf5fc6146cf20b76755 (patch) | |
tree | 9873c221d5ae8bab17fbca76990c574bfe4a5733 | |
parent | Add a fuzzer for http::StatusLine::parse() (diff) | |
download | online-9e331465d9f61fc04bd33cf5fc6146cf20b76755.tar.gz online-9e331465d9f61fc04bd33cf5fc6146cf20b76755.zip |
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: Id6679220f83b77a4c63ca9a9429052535c75939a
-rw-r--r-- | .clang-format | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index 9d0d3de3f7..0a2f631508 100644 --- a/.clang-format +++ b/.clang-format @@ -7,7 +7,7 @@ AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false AlwaysBreakTemplateDeclarations: false AlwaysBreakBeforeMultilineStrings: false -BreakBeforeBinaryOperators: true +BreakBeforeBinaryOperators: None BreakBeforeTernaryOperators: true BreakConstructorInitializersBeforeComma: true BinPackParameters: true |