dotfiles/home/clang-format

31 lines
920 B
Text

BasedOnStyle: Google
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
# AlignArrayOfStructures: Right
AlignConsecutiveAssignments: true
AlignConsecutiveBitFields: true
AlignConsecutiveMacros: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: WebKit
BreakBinaryOperations: OnePerLine
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
ContinuationIndentWidth: 8
DerivePointerAlignment: false
IndentCaseLabels: false
IndentPPDirectives: AfterHash
IndentWidth: 4
PPIndentWidth: 2
PackConstructorInitializers: CurrentLine
PointerAlignment: Right
ReferenceAlignment: Pointer
SeparateDefinitionBlocks: Always
SortUsingDeclarations: true
SpaceAfterTemplateKeyword: false