Add clang-format to repo
This commit is contained in:
parent
1a1dcdaae7
commit
7ba9e030ab
|
@ -0,0 +1,33 @@
|
|||
#BasedOnStyle: WebKit
|
||||
IndentWidth: 4
|
||||
TabWidth: 4
|
||||
UseTab: ForIndentation
|
||||
|
||||
BreakBeforeBraces: Allman
|
||||
|
||||
AlignAfterOpenBracket: true
|
||||
AlignConsecutiveAssignments: true
|
||||
AlignOperands: true
|
||||
|
||||
AllowShortBlocksOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
|
||||
NamespaceIndentation: Inner
|
||||
|
||||
SpaceAfterCStyleCast: false
|
||||
SpaceBeforeParens: true
|
||||
SpaceInEmptyParentheses: true
|
||||
SpacesInAngles: true
|
||||
SpacesInParentheses: true
|
||||
SpacesBeforeTrailingComments: 1
|
||||
|
||||
IndentCaseLabels: false
|
||||
IndentWrappedFunctionNames: true
|
||||
|
||||
PointerAlignment: Right
|
||||
|
||||
ColumnLimit: 0
|
||||
BinPackArguments: false
|
Loading…
Reference in New Issue