clang-format: Better approximation for binary operators and assignments

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>
This commit is contained in:
Matthias Maennich 2020-01-21 18:26:42 +00:00
parent 9ab71105eb
commit 06fef19000

View File

@ -12,4 +12,5 @@ SortUsingDeclarations: false
SpaceBeforeParens: ControlStatements
TabWidth: 8
UseTab: Always
BreakBeforeBinaryOperators: NonAssignment
---