Skip to content

Commit fafb5fc

Browse files
committed
Don't break before binary operators
1 parent bf049b2 commit fafb5fc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.clang-format

+2-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ AllowShortIfStatementsOnASingleLine: Never
3838
AllowShortLoopsOnASingleLine: false
3939
# Add a space after the colon in bit fields.
4040
BitFieldColonSpacing: After
41-
# Break before binary operators that are not assignments.
42-
# E.g. break before "+", but not before "+=".
43-
BreakBeforeBinaryOperators: NonAssignment
41+
# Don't break before binary operators.
42+
BreakBeforeBinaryOperators: None)
4443
# Attach opening braces to the same line as the statement or declaration it belongs to.
4544
BreakBeforeBraces: Attach
4645
# Ternary operators will be placed after line breaks.

0 commit comments

Comments
 (0)