libabigail/.clang-format
Matthias Maennich 06fef19000 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>
2020-01-21 18:38:04 +00:00

17 lines
435 B
YAML

---
BasedOnStyle: GNU
AlignConsecutiveDeclarations: true
AlwaysBreakAfterReturnType: All
BreakConstructorInitializers: BeforeColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 2
BinPackParameters: false
BreakStringLiterals: false
PointerAlignment: Left
SortUsingDeclarations: false
SpaceBeforeParens: ControlStatements
TabWidth: 8
UseTab: Always
BreakBeforeBinaryOperators: NonAssignment
---