-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
39 lines (36 loc) · 1001 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
36
37
38
39
Language: Cpp
BasedOnStyle: google
IndentWidth: 4
SortIncludes: false
AccessModifierOffset: -4
AlignConsecutiveMacros: true
AlignTrailingComments: true
AlignConsecutiveAssignments: true
AllowAllConstructorInitializersOnNextLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AlwaysBreakTemplateDeclarations: Yes
BreakConstructorInitializers: AfterColon
ColumnLimit: 0
CompactNamespaces: false
ConstructorInitializerIndentWidth: 2
Cpp11BracedListStyle: true
DerivePointerAlignment: false
FixNamespaceComments: true
IncludeBlocks: Regroup
KeepEmptyLinesAtTheStartOfBlocks: true
MaxEmptyLinesToKeep: 1
PointerAlignment: Left
ReflowComments: false
SpaceBeforeParens: ControlStatements
UseTab: Always
TabWidth: 4
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterControlStatement: MultiLine
BeforeCatch: true
IndentBraces: false
SplitEmptyFunction: true