-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
30 lines (30 loc) · 904 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
BasedOnStyle: LLVM
IndentWidth: 4
ObjCBlockIndentWidth: 4
UseTab: Never
ColumnLimit: 120
AccessModifierOffset: -4
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AlignConsecutiveAssignments: Consecutive
MaxEmptyLinesToKeep: 1
ContinuationIndentWidth: 4
IndentCaseLabels: true
AlignTrailingComments: true
BreakBeforeBraces: Attach
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: false
SpacesInContainerLiterals: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesInSquareBrackets: false
SpacesInParentheses: false
SpaceAfterCStyleCast: false
PointerAlignment: Right
KeepEmptyLinesAtTheStartOfBlocks: false