-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
35 lines (35 loc) · 971 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
31
32
33
34
35
BasedOnStyle: LLVM
AccessModifierOffset: -2
IndentWidth: 4
AlignArrayOfStructures: Left
AlignConsecutiveBitFields: true
AlignEscapedNewlines: Right
# AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakTemplateDeclarations: Yes
# BinPackArguments: false
# BinPackParameters: false
# BreakBeforeBraces: Linux
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: false
AfterClass: false
SplitEmptyFunction: false
AfterFunction: false
SplitEmptyNamespace: false
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
ColumnLimit: 100
Cpp11BracedListStyle: false
EmptyLineBeforeAccessModifier: Always
FixNamespaceComments: true
IndentCaseLabels: true
Language: Cpp
# PackConstructorInitializers: NextLine
PointerAlignment: Left
ReferenceAlignment: Pointer
Standard: Cpp03
#SeparateDefinitionBlocks: Always