-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
47 lines (44 loc) · 1.27 KB
/
.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
ColumnLimit: 120
UseTab: Never
IndentWidth: 4
AccessModifierOffset: -4
#AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: true
AllowShortLambdasOnASingleLine: Inline
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterNamespace: true
AfterEnum: false
AfterStruct: false
AfterClass: false
AfterControlStatement: false
AfterFunction: false
AfterUnion: false
BeforeElse: true
BeforeCatch: true
SplitEmptyFunction: false
BreakBeforeBraces: Custom
AlwaysBreakTemplateDeclarations: Yes
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: true
FixNamespaceComments: true
IndentPPDirectives: BeforeHash
NamespaceIndentation: Inner
PenaltyReturnTypeOnItsOwnLine: 32
PointerAlignment: Left
SpaceBeforeCtorInitializerColon: false