-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
86 lines (85 loc) · 2.39 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Generated from CLion C/C++ Code Style settings
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignOperands: Align
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: true
BraceWrapping:
AfterClass: false
BeforeElse: false
SplitEmptyFunction: false
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
BreakInheritanceList: BeforeColon
CompactNamespaces: false
IndentPPDirectives: None
KeepEmptyLinesAtTheStartOfBlocks: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
ReflowComments: false
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
IndentWidth: 4
TabWidth: 4
UseTab: Never
UseCRLF: false
---
Language: Cpp
# Force pointers to the type for C++.
DerivePointerAlignment: false
SpacesBeforeTrailingComments: 3
Cpp11BracedListStyle: false
PointerAlignment: Left
AlignAfterOpenBracket: DontAlign #Align #AlwaysBreak
BinPackArguments: false
BinPackParameters: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: WithoutElse
AlwaysBreakTemplateDeclarations: Yes
AlwaysBreakAfterReturnType: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterControlStatement: Never
AfterCaseLabel: false
AfterClass: true
AfterFunction: false
AfterEnum: false
AfterNamespace: true
AfterStruct: false
AfterUnion: false
AfterExternBlock: true
BeforeCatch: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakConstructorInitializers: AfterColon
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ContinuationIndentWidth: 4
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
AllowShortEnumsOnASingleLine: false
IndentCaseLabels: false
---