libabigail/.clang-format
Matthias Maennich fb70149cb1 .clang-format: Add more options for match existing coding style
Add options for constructor intializers, using declarations and
consecutive declarations.

Even though sorting using declarations could be useful, it changes too
much existing code as of now.

	* .clang-format: Add options for ConstructorInitializers
	Set SortUsingDeclarations=false
	Set AlignConsecutiveDeclarations=true

Signed-off-by: Matthias Maennich <maennich@google.com>
2019-05-22 14:34:31 +02:00

16 lines
393 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
---