forked from cucumber/cucumber-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
32 lines (31 loc) · 894 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
---
Language: Cpp
AccessModifierOffset: -4
AlignEscapedNewlinesLeft: true
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Attach
ColumnLimit: 100
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ForEachMacros: [ BOOST_FOREACH ]
IncludeCategories:
# The autodetect header should always be included last
- Regex: '^<cucumber-cpp/autodetect\.hpp>$'
Priority: 3
- Regex: '^["<]cucumber-cpp/'
Priority: 1
- Regex: '.*'
Priority: 2
IndentWidth: 4
NamespaceIndentation: None
PenaltyBreakString: 1000
PenaltyExcessCharacter: 10000
PointerAlignment: Left
SortIncludes: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
Standard: Cpp03
...