-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.clang-format
More file actions
32 lines (29 loc) · 751 Bytes
/
.clang-format
File metadata and controls
32 lines (29 loc) · 751 Bytes
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
BasedOnStyle: LLVM
UseTab: Always
TabWidth: 4
IndentWidth: 4
AlignEscapedNewlinesLeft: true
AllowShortIfStatementsOnASingleLine: false
ColumnLimit: 0
IndentCaseLabels: true
ObjCBlockIndentWidth: 4
# Like Stroustrup but do not wrap braces after function definitions.
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
DerivePointerAlignment: false
PointerAlignment: Right
AllowShortFunctionsOnASingleLine: Empty
AllowShortBlocksOnASingleLine: true
ObjCSpaceAfterProperty: true
SpacesInContainerLiterals: false