-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
38 lines (38 loc) · 995 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
---
AccessModifierOffset: -2
AlignAfterOpenBracket: AlwaysBreak
AllowShortFunctionsOnASingleLine: InlineOnly
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: Yes
AllowAllArgumentsOnNextLine: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterNamespace: true
AfterStruct: true
AfterClass: true
AfterEnum: true
AfterFunction: true
SplitEmptyFunction: true
SplitEmptyRecord: true
ColumnLimit: 80
IndentWidth: 2
ContinuationIndentWidth: 2
ConstructorInitializerIndentWidth: 2
IndentPPDirectives: None
PenaltyReturnTypeOnItsOwnLine: 1000000
PenaltyExcessCharacter: 1000000
PointerAlignment: Left
SpaceAfterTemplateKeyword: false
Standard: c++17
TabWidth: 2
Cpp11BracedListStyle: true
IndentCaseLabels: true
SortIncludes: true
IncludeBlocks: Preserve
FixNamespaceComments: true
NamespaceIndentation: All
AlignOperands: AlignAfterOperator
AlignTrailingComments: false
BreakBeforeBinaryOperators: NonAssignment
...