-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
29 lines (29 loc) · 893 Bytes
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
UseTab: Always
IndentWidth: 4
TabWidth: 4
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
ContinuationIndentWidth: 4
PointerAlignment: Middle
SpaceBeforeRangeBasedForLoopColon: true
AllowAllParametersOfDeclarationOnNextLine: true
PackConstructorInitializers: CurrentLine
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
BreakBeforeBraces: Attach
ColumnLimit: 140
SpacesInParentheses: true
NamespaceIndentation: All
SpaceBeforeParensOptions:
AfterControlStatements: true