-
Notifications
You must be signed in to change notification settings - Fork 56
/
.clang-format
58 lines (57 loc) · 1.64 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
50
51
52
53
54
55
56
57
58
Language: Cpp
BasedOnStyle: LLVM
Standard: Latest
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignEscapedNewlines: Left
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowShortEnumsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBraces: Allman
BinPackArguments: true
BinPackParameters: true
ColumnLimit: 92
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 4
IncludeCategories:
- Regex: '^<.*/.*/.*\.hpp>'
Priority: 6
- Regex: '^<.*/.*\.hpp>'
Priority: 5
- Regex: '^<.*\.hpp>'
Priority: 4
- Regex: '^<.*/.*\.h>'
Priority: 3
- Regex: '^<.*\.h>'
Priority: 2
- Regex: '^<.*/.*>'
Priority: 1
- Regex: '^<.*>'
Priority: 0
- Regex: '^".*"'
Priority: 7
- Regex: '.*'
Priority: 8
IndentCaseBlocks: true
IndentCaseLabels: true
IndentWidth: 2
PackConstructorInitializers: BinPack
QualifierAlignment: Left
ShortNamespaceLines: 0
SpacesBeforeTrailingComments: 2
StatementMacros: ['PalacePragmaOmp',
'PalacePragmaDiagnosticPush',
'PalacePragmaDiagnosticPop',
'PalacePragmaDiagnosticDisableDeprecated',
'PalacePragmaDiagnosticDisableUnused']
TypenameMacros: ['CEED_QFUNCTION']
UseTab: Never