mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 23:14:36 +00:00
cb1c49e126
This is a further tweak to the clang-format rules, bringing them (on average) closer to the existing corpus of code. The existing code mostly uses an indentaton of 2 spaces, rather than 4, for expressions broken across lines. There are exceptions such as conditional expressions that are initialisers but clang-format's indentation may be preferable to emacs' zero indentation here. * .clang-format: Set ContinuationIndentWidth to 2. Signed-off-by: Giuliano Procida <gprocida@google.com>
18 lines
462 B
YAML
18 lines
462 B
YAML
---
|
|
BasedOnStyle: GNU
|
|
AlignConsecutiveDeclarations: true
|
|
AlwaysBreakAfterReturnType: All
|
|
BreakConstructorInitializers: BeforeColon
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 2
|
|
ContinuationIndentWidth: 2
|
|
BinPackParameters: false
|
|
BreakStringLiterals: false
|
|
PointerAlignment: Left
|
|
SortUsingDeclarations: false
|
|
SpaceBeforeParens: ControlStatements
|
|
TabWidth: 8
|
|
UseTab: Always
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
---
|