projects
/
platform
/
upstream
/
libabigail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ab7110
)
clang-format: Better approximation for binary operators and assignments
author
Matthias Maennich
<maennich@google.com>
Tue, 21 Jan 2020 18:26:42 +0000
(18:26 +0000)
committer
Matthias Maennich
<maennich@google.com>
Tue, 21 Jan 2020 18:38:04 +0000
(18:38 +0000)
The project style requires assignment operators to be on the first line
of two if the line needs to break. Reflect that in the .clang-format
configuration to approximate the style better when using clang-format.
* .clang-format: Add BreakBeforeBinaryOperators option.
Signed-off-by: Matthias Maennich <maennich@google.com>
.clang-format
patch
|
blob
|
history
diff --git
a/.clang-format
b/.clang-format
index
54d573a
..
f3a039c
100644
(file)
--- a/
.clang-format
+++ b/
.clang-format
@@
-12,4
+12,5
@@
SortUsingDeclarations: false
SpaceBeforeParens: ControlStatements
TabWidth: 8
UseTab: Always
+BreakBeforeBinaryOperators: NonAssignment
---