-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
42 lines (41 loc) · 1.12 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
BasedOnStyle: Google
IndentWidth: 4
UseTab: Always
TabWidth: 4
UseCRLF: false
Language: Cpp
StatementMacros: ['ASSIGN_ERR', 'CHECK_RET', 'CHECK_ERR', 'CHECK_PTR', 'PRINT_ERR', 'PRINT_TEST_RESULT', 'PRINT_TEST_MSG', 'CHK_ABTRET', 'CHK_ABTERR']
TypenameMacros: []
DerivePointerAlignment: false
PointerAlignment: Left
ColumnLimit: 100
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveMacros: true
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: None
BinPackArguments: true
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: false
AfterStruct: false
SplitEmptyFunction: false
AfterCaseLabel: false
AfterFunction: false
AfterNamespace: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentCaseLabels: true
PointerAlignment: Right
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: Always
SpaceBeforeRangeBasedForLoopColon: true