-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.clang-format
More file actions
52 lines (52 loc) · 1.36 KB
/
Copy path.clang-format
File metadata and controls
52 lines (52 loc) · 1.36 KB
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
46
47
48
49
50
51
52
BasedOnStyle: LLVM
IndentWidth: 4
ObjCBlockIndentWidth: 4
UseTab: Never
ColumnLimit: 100
AccessModifierOffset: -4
IndentCaseLabels: true
NamespaceIndentation: Inner
AlignConsecutiveAssignments: Consecutive
AlignConsecutiveDeclarations: Consecutive
AlignConsecutiveMacros: Consecutive
AlignTrailingComments: true
AlignOperands: true
AlignAfterOpenBracket: Align
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
ObjCBreakBeforeNestedBlockParam: true
ObjCBinPackProtocolList: Never
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterObjCDeclaration: true
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SpaceAfterCStyleCast: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: true
SpacesInParentheses: false
SpacesInSquareBrackets: false
SortIncludes: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: "^<"
Priority: 1
- Regex: '^"[^/]*\\.h$'
Priority: 2
- Regex: '^"'
Priority: 3
InsertNewlineAtEOF: true