-
Notifications
You must be signed in to change notification settings - Fork 21
/
.clang-format
68 lines (66 loc) · 1.81 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignEscapedNewlines: Left
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: false
BasedOnStyle: WebKit
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: AfterColon
ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ContinuationIndentWidth: 4
ForEachMacros: [ foreach ]
IncludeBlocks: Regroup
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: true
MaxEmptyLinesToKeep: 2
NamespaceIndentation: Inner
PointerAlignment: Right
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: false
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: true
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 4
UseTab: ForContinuationAndIndentation
IncludeCategories:
- Regex: '<Cocoa/.+>'
Priority: 2
- Regex: '<Qt.+/.+>'
Priority: 3
- Regex: '<Vuo/Vuo.h>'
Priority: 4
- Regex: '<[a-z].+>'
Priority: 1
- Regex: '"node.h"'
Priority: 5
- Regex: '"VuoList_.*"'
Priority: 7
- Regex: '"Vuo.*"'
Priority: 6
- Regex: '.*'
Priority: 8
---
Language: Cpp
SpaceBeforeCpp11BracedList: false
Standard: Cpp11
---
Language: ObjC
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true