-
Notifications
You must be signed in to change notification settings - Fork 46
/
.clang-format
33 lines (32 loc) · 1.17 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
BasedOnStyle: "Google"
AlignAfterOpenBracket: Align
AlignArrayOfStructures: Left
AlignConsecutiveAssignments: Consecutive
AlignConsecutiveDeclarations: Consecutive
AlignEscapedNewlines: true
AlignOperands: Align
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
ColumnLimit: 150
ReflowComments: false
CommentPragmas: 'TESTARGS'
DerivePointerAlignment: false
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^<ceed/.*\.h>'
Priority: 2
- Regex: '^<ceed.*\.h>'
Priority: 1
- Regex: '^<.*/.*\.h>'
Priority: 5
- Regex: '^<.*\.h>'
Priority: 4
- Regex: '^<.*>'
Priority: 3
- Regex: '^".*"'
Priority: 6
- Regex: '.*'
Priority: 7
PointerAlignment: Right
TabWidth: 4
UseTab: Never
StatementMacros: [CeedPragmaOptimizeOn, CeedPragmaOptimizeOff]