-
Notifications
You must be signed in to change notification settings - Fork 13
/
.clang-format
39 lines (39 loc) · 1.08 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
BasedOnStyle: LLVM
AlignAfterOpenBracket: Align
AlignTrailingComments: true
#AllowAllArgumentsOnNextLine: false
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: true
#AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AllowShortIfStatementsOnASingleLine : false
AlwaysBreakTemplateDeclarations: true
AlwaysBreakAfterDefinitionReturnType: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: true
SplitEmptyFunction: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterClass: true
BeforeElse: true
IndentWidth: 4
PointerAlignment: Left
TabWidth: 4
UseTab: Never
FixNamespaceComments: true
PenaltyBreakBeforeFirstCallParameter: 10
ColumnLimit: 200
BinPackArguments: true
BinPackParameters: true
AllowAllParametersOfDeclarationOnNextLine: false
IncludeBlocks: Regroup
AlignConsecutiveDeclarations: false
AlignConsecutiveAssignments: false
AccessModifierOffset: -4
Cpp11BracedListStyle: false