-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
51 lines (50 loc) · 1.07 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
43
44
45
46
47
48
49
50
51
---
AccessModifierOffset: -2
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: InlineOnly
AlwaysBreakTemplateDeclarations: true
BreakBeforeBraces: Custom
ColumnLimit: 79
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
IndentWidth: 4
Language: Cpp
MaxEmptyLinesToKeep: 1
PointerAlignment: Left
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 2
ForEachMacros:
- TEST_CASE
- TEST_CASE_TEMPLATE
- TEST_CASE_TEMPLATE_DEFINE
- SCENARIO
- SCENARIO_TEMPLATE
- SCENARIO_TEMPLATE_DEFINE
- SUBCASE
- GIVEN
- WHEN
- THEN
- AND_WHEN
- AND_THEN
FixNamespaceComments: false
Standard: Cpp11
UseTab: Never
SortIncludes: false
IncludeBlocks: Preserve
SortUsingDeclarations: false
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterUnion: true
AfterStruct: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
...