forked from FlexibleSUSY/FlexibleSUSY
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
32 lines (30 loc) · 822 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
Standard: Cpp11
TabWidth: 8
Cpp11BracedListStyle: true
BreakBeforeBraces: Linux
UseTab: Never
IndentWidth: 3
ContinuationIndentWidth: 3
ConstructorInitializerIndentWidth: 3
AccessModifierOffset: -3
PointerAlignment: Left
AlwaysBreakTemplateDeclarations: true
AlignTrailingComments: true
AllowShortIfStatementsOnASingleLine: false
# AllowShortFunctionsOnASingleLine: SFS_Inline
# BreakStringLiterals: true
# BreakConstructorInitializers: BeforeComma
ObjCSpaceAfterProperty: false
IncludeCategories:
- Regex: '^("|<)boost/'
Priority: 4
- Regex: '^("|<)gsl/'
Priority: 3
- Regex: '^("|<)Eigen/'
Priority: 2
- Regex: '^"'
Priority: 1
- Regex: '^<'
Priority: 5
- Regex: '.*'
Priority: 0