-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy path.clang-format
49 lines (49 loc) · 1.36 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
Language: Cpp
BasedOnStyle: Google
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlines: Left
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AttributeMacros: ['KOKKOS_INLINE_FUNCTION']
BreakBeforeBinaryOperators: NonAssignment
BreakConstructorInitializers: BeforeComma
ColumnLimit: 100
DerivePointerAlignment: false
IndentWidth: 4
IncludeBlocks: Regroup
IncludeCategories:
- Regex: 'Kokkos_Core'
Priority: -1
SortPriority: -2
- Regex: '^"Ippl'
Priority: -1
SortPriority: -1
- Regex: '^<.*>$'
Priority: 2
- Regex: 'Types[^/]*"$'
Priority: 10
- Regex: '^"Types'
Priority: 20
- Regex: '^"Utility'
Priority: 30
- Regex: '^"Expression'
Priority: 40
- Regex: '.*Field.h"$'
Priority: 50
- Regex: 'BConds'
Priority: 50
SortPriority: 51
- Regex: 'BcTypes'
Priority: 50
SortPriority: 52
IndentGotoLabels: false
NamespaceIndentation: All
PackConstructorInitializers: Never
ReflowComments: true
StatementMacros: ['DefineUnaryOperation', 'DefineBinaryOperation', 'DefineReduction', 'DefineParticleReduction']