-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.clang-format
38 lines (37 loc) · 1022 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
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: '^("|<).*stdafx\.h(pp)?("|>)'
Priority: -1
- Regex: '^("|<)(W|w)indows\.h("|>)'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*spt-serverplugin.hpp("|>)'
Priority: 3
- Regex: '.*'
Priority: 10
IndentCaseLabels: false
IndentWidth: 8
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
PenaltyBreakBeforeFirstCallParameter: 300
ReflowComments: false
SortIncludes: false
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 1
UseTab: ForIndentation