-
Notifications
You must be signed in to change notification settings - Fork 11
/
.clang-format
36 lines (36 loc) · 987 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
Language: Cpp
Standard: Cpp11
BasedOnStyle: WebKit
NamespaceIndentation: None
IndentCaseLabels: true
IndentPPDirectives: AfterHash
FixNamespaceComments: true
MaxEmptyLinesToKeep: 2
SpaceAfterTemplateKeyword: false
AllowShortCaseLabelsOnASingleLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortBlocksOnASingleLine: true
AllowShortLoopsOnASingleLine: true
BreakBeforeBinaryOperators: None
Cpp11BracedListStyle: true
SpaceBeforeCpp11BracedList: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: true
AfterClass: true
SplitEmptyFunction: false
AfterFunction: true
AfterNamespace: true
AfterControlStatement: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^[<"]cosim[/.]'
Priority: 20
- Regex: '^[<"](boost|event2|fmilib|gsl|nlohmann|proxyfmu|xercesc|zip)[/.]'
Priority: 30
- Regex: '^"'
Priority: 10
- Regex: '.*'
Priority: 40