-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
45 lines (39 loc) · 1.11 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
41
42
43
44
45
UseTab: true
TabWidth: 8
IndentWidth: 8
ColumnLimit: 140
SortIncludes: false
IncludeBlocks: Preserve
PointerAlignment: Left
SpaceBeforeAssignmentOperators: true
SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 1
SpacesInParentheses: false
SpacesInCStyleCastParentheses: true
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterFunctionDefinitionName: true
AfterFunctionDeclarationName: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignArrayOfStructures: Right
AlignAfterOpenBracket: false
AlignEscapedNewlines: true
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
SeparateDefinitionBlocks: Always
BreakBeforeBraces: Attach
AlwaysBreakTemplateDeclarations: true
AccessModifierOffset: 0
NamespaceIndentation: All
FixNamespaceComments: false
IndentAccessModifiers: true
IndentCaseLabels: true
IndentExternBlock: true
IndentGotoLabels: true
IndentPPDirectives: AfterHash
LambdaBodyIndentation: Signature