-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.clang-format
41 lines (38 loc) · 965 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
30
31
32
33
34
35
36
37
38
39
40
41
---
BasedOnStyle: LLVM
IndentWidth: 4
IndentAccessModifiers: false
ColumnLimit: 0
---
Language: Cpp
DerivePointerAlignment: false
PointerAlignment: Left
Cpp11BracedListStyle: false
BreakBeforeBinaryOperators: NonAssignment
IndentCaseLabels: true
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortFunctionsOnASingleLine: Inline
SortIncludes: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterCaseLabel: true
AfterControlStatement: MultiLine
AfterEnum: true
AfterFunction: true
AfterStruct: true
AfterUnion: true
BeforeElse: true
SplitEmptyRecord: false
SplitEmptyNamespace: false
SplitEmptyFunction: true
BreakInheritanceList: BeforeComma
BreakConstructorInitializers: BeforeComma
InsertBraces: true
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: 1
PackConstructorInitializers: CurrentLine