Add .clang-format file
This commit is contained in:
parent
9cae6dc38d
commit
b28c4d2c40
24
.clang-format
Normal file
24
.clang-format
Normal file
|
@ -0,0 +1,24 @@
|
|||
BasedOnStyle: Microsoft
|
||||
AccessModifierOffset: -4
|
||||
AlwaysBreakTemplateDeclarations: 'Yes'
|
||||
AlignAfterOpenBracket: DontAlign
|
||||
AlignTrailingComments: 'true'
|
||||
AllowAllParametersOfDeclarationOnNextLine: 'false'
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeBraces: Allman
|
||||
BreakConstructorInitializers: BeforeComma
|
||||
ColumnLimit: '120'
|
||||
ExperimentalAutoDetectBinPacking: 'false'
|
||||
NamespaceIndentation: None
|
||||
MaxEmptyLinesToKeep: 2
|
||||
PointerAlignment: Right
|
||||
SpaceInEmptyParentheses: 'false'
|
||||
SpacesInAngles: 'true'
|
||||
SpacesInCStyleCastParentheses: 'true'
|
||||
SpacesInContainerLiterals: 'true'
|
||||
SpacesInParentheses: 'true'
|
||||
SpacesInSquareBrackets: 'true'
|
||||
TabWidth: '4'
|
||||
UseTab: Always
|
||||
FixNamespaceComments: 'true'
|
||||
IndentCaseLabels: 'true'
|
Loading…
Reference in a new issue