-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
38 lines (38 loc) · 949 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
# ethan's clang format
# actually codes in my style LOL
# well somewhat
---
BasedOnStyle: Google
IndentWidth: 4
Language: Cpp
UseTab: Never
DerivePointerAlignment: false
PointerAlignment: Left
BreakStringLiterals: true
ReflowComments: true
ContinuationIndentWidth: 4
ColumnLimit: 80
AlignAfterOpenBracket: DontAlign
AlignTrailingComments:
Kind: Always
OverEmptyLines: 2
AlignOperands: Align
BreakBeforeBinaryOperators: NonAssignment
PenaltyBreakAssignment: 60
PenaltyBreakOpenParenthesis: 50
IndentCaseLabels: true
AllowShortFunctionsOnASingleLine: Empty
SortIncludes: false
MacroBlockBegin: "^#if .*$"
MacroBlockEnd: "^#endif$"
AlignEscapedNewlines: Right
IndentPPDirectives: BeforeHash
IndentAccessModifiers: false
AccessModifierOffset: -4
SpaceBeforeRangeBasedForLoopColon: false
SpaceBeforeCaseColon: false
SpaceBeforeCtorInitializerColon: false
SpaceAfterTemplateKeyword: false
NamespaceIndentation: All
FixNamespaceComments: false
---