Commit graph

2 commits

Author SHA1 Message Date
Miklos Vajna
9e331465d9 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
2021-04-23 09:51:06 +02:00
Samuel Mehrbrodt
c583195d62 Add clang-format config from core repo
Not enforced at the moment

Change-Id: I5e2b0def768e7b887425b6b0adc2c790565e42ea
Reviewed-on: https://gerrit.libreoffice.org/64148
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-11-28 16:46:11 +01:00