-
Notifications
You must be signed in to change notification settings - Fork 1
/
_clang-format
32 lines (32 loc) · 1.65 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
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
---
BasedOnStyle : "LLVM"
UseTab : Never
IndentWidth : 4
AccessModifierOffset : 0
AlignAfterOpenBracket : Align
AlignConsecutiveAssignments : true
AlignConsecutiveDeclarations : true
PointerAlignment : Middle
AllowShortBlocksOnASingleLine : false
AllowShortIfStatementsOnASingleLine : false
AllowShortLoopsOnASingleLine : false
ColumnLimit : 0
KeepEmptyLinesAtTheStartOfBlocks : false
Cpp11BracedListStyle : true
ConstructorInitializerAllOnOneLineOrOnePerLine : false
BreakBeforeBraces : Custom
BraceWrapping:
AfterClass : false
AfterControlStatement : false
AfterEnum : false
AfterFunction : false
AfterNamespace : false
AfterObjCDeclaration : false
AfterStruct : false
AfterUnion : false
BeforeCatch : false
BeforeElse : true
Standard : Cpp11
SpaceAfterCStyleCast : true
SortIncludes : false