mirror of https://github.com/xiph/flac
add clang-format file
This was generated with whatstyle: whatstyle.py $(find -name "*.h") with some minor fixups. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
24629435bb
commit
144075a114
|
@ -0,0 +1,21 @@
|
|||
BasedOnStyle: WebKit
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignEscapedNewlines: DontAlign
|
||||
AlignOperands: true
|
||||
BraceWrapping:
|
||||
AfterFunction: true
|
||||
BeforeElse: true
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeBraces: Custom
|
||||
BreakBeforeInheritanceComma: true
|
||||
BreakConstructorInitializers: BeforeComma
|
||||
DerivePointerAlignment: false
|
||||
IndentCaseLabels: true
|
||||
MaxEmptyLinesToKeep: 1
|
||||
NamespaceIndentation: All
|
||||
PointerAlignment: Right
|
||||
SortIncludes: false
|
||||
SpaceBeforeCtorInitializerColon: true
|
||||
SpaceBeforeParens: Never
|
||||
TabWidth: 4
|
||||
UseTab: ForContinuationAndIndentation
|
Loading…
Reference in New Issue