-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
executable file
·37 lines (37 loc) · 1.03 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
BasedOnStyle: LLVM
AlignAfterOpenBracket: Align
# AlignTrailingComments: true
#AllowAllArgumentsOnNextLine: false
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
#AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
AlwaysBreakAfterDefinitionReturnType: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Stroustrup
BraceWrapping:
AfterEnum: true
AfterStruct: true
SplitEmptyFunction: true
AfterControlStatement: 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