upscheme/.clang-format

21 lines
528 B
YAML

---
BasedOnStyle: WebKit
AlignAfterOpenBracket: Align
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
BraceWrapping:
AfterFunction: true
BeforeElse: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
ContinuationIndentWidth: 0
DerivePointerAlignment: true
MaxEmptyLinesToKeep: 2
SortIncludes: false
SpacesBeforeTrailingComments: 2