feat(Core): added clang-format (#6848)
This commit is contained in:
parent
1c4523415a
commit
1a47a0eee4
1 changed files with 34 additions and 0 deletions
34
.clang-format
Normal file
34
.clang-format
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
AlignConsecutiveMacros: 'true'
|
||||
AlignConsecutiveAssignments: 'true'
|
||||
AlignConsecutiveDeclarations: 'true'
|
||||
AlignTrailingComments: 'true'
|
||||
AllowAllConstructorInitializersOnNextLine: 'false'
|
||||
AllowAllParametersOfDeclarationOnNextLine: 'false'
|
||||
AllowShortBlocksOnASingleLine: 'false'
|
||||
AllowShortCaseLabelsOnASingleLine: 'false'
|
||||
AllowShortFunctionsOnASingleLine: Empty
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
AllowShortLambdasOnASingleLine: Inline
|
||||
AllowShortLoopsOnASingleLine: 'true'
|
||||
BinPackArguments: 'true'
|
||||
BinPackParameters: 'true'
|
||||
BreakBeforeBraces: Allman
|
||||
IndentWidth: '4'
|
||||
SpaceAfterCStyleCast: 'true'
|
||||
SpaceBeforeCpp11BracedList: 'true'
|
||||
SpaceBeforeParens: ControlStatements
|
||||
SpaceBeforeRangeBasedForLoopColon: 'true'
|
||||
SpaceInEmptyParentheses: 'false'
|
||||
SpacesInAngles: 'false'
|
||||
SpacesInCStyleCastParentheses: 'false'
|
||||
SpacesInContainerLiterals: 'false'
|
||||
SpacesInParentheses: 'false'
|
||||
Standard: Latest
|
||||
TabWidth: '0'
|
||||
UseTab: Never
|
||||
PointerAlignment: Left
|
||||
ColumnLimit: 0
|
||||
|
||||
|
||||
...
|
||||
Loading…
Add table
Add a link
Reference in a new issue