-
Notifications
You must be signed in to change notification settings - Fork 131
/
.clang-format
39 lines (38 loc) · 1.05 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
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
AlignEscapedNewlinesLeft: true
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Attach
BreakConstructorInitializers: AfterColon
ColumnLimit: 100
FixNamespaceComments: true
IncludeCategories:
# The autodetect header should always be included last
- Regex: '^<cucumber-cpp/autodetect\.hpp>$'
Priority: 3
- Regex: '^["<]cucumber-cpp/'
Priority: 1
- Regex: '.*'
Priority: 2
IndentPPDirectives: BeforeHash
IndentWidth: 4
NamespaceIndentation: None
PackConstructorInitializers: Never
PenaltyBreakString: 1000
PenaltyExcessCharacter: 10000
PenaltyReturnTypeOnItsOwnLine: 1000
PointerAlignment: Left
ShortNamespaceLines: 200
SortIncludes: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
Standard: Cpp11
...