-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-format
29 lines (29 loc) · 885 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
AlignConsecutiveDeclarations: true
AlignTrailingComments: true
AlignAfterOpenBracket: DontAlign
AllowShortIfStatementsOnASingleLine: false
AlwaysBreakAfterReturnType: AllDefinitions
AlwaysBreakBeforeMultilineStrings: true
BreakBeforeBraces: Linux
BreakBeforeBinaryOperators: false
BreakBeforeTernaryOperators: true
BreakStringLiterals: true
ColumnLimit: 80
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerAlignment: false
PointerAlignment: Right
IndentCaseLabels: false
MaxEmptyLinesToKeep: 2
PointerBindsToType: false
ReflowComments: false
IndentWidth: 4
TabWidth: 4
UseTab: Never
BreakBeforeBraces: Attach
IndentFunctionDeclarationAfterType: false
SpacesInSquareBrackets: true
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
ContinuationIndentWidth: 8