-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
40 lines (37 loc) · 1.1 KB
/
.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
# Common settings
BasedOnStyle: GNU
TabWidth: 3
IndentWidth: 3
UseTab: Always
ColumnLimit: 100
AlignTrailingComments: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortBlocksOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterDefinitionReturnType: false
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Allman
ColumnLimit: 0
IndentCaseLabels: true
MaxEmptyLinesToKeep: 2
PointerBindsToType: false
ReflowComments: false
SortIncludes: false
SpaceAfterCStyleCast: false
SpacesInCStyleCastParentheses: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Never
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInParentheses: true
SpacesInSquareBrackets: false
SpaceAfterTemplateKeyword: true
SpaceBeforeInheritanceColon: true
PenaltyReturnTypeOnItsOwnLine: 9999
PenaltyBreakComment: 1000
PenaltyBreakString: 1000