-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.clang-format
35 lines (34 loc) · 920 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
Language: Cpp
BasedOnStyle: Google
AccessModifierOffset: -8
AlignEscapedNewlines: DontAlign
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: true
BreakStringLiterals: false
ColumnLimit: 120
DerivePointerAlignment: false
IncludeCategories:
- Regex: '<[^>]*>'
Priority: -2
- Regex: 'cpp_quakedef.hpp'
Priority: -1
- Regex: 'hooks.h'
Priority: 2
- Regex: '.*'
Priority: 10
IndentCaseLabels: false
IndentWidth: 8
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
PenaltyBreakBeforeFirstCallParameter: 300
ReflowComments: false
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 1
UseTab: ForIndentation