-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy path.clang-format
More file actions
34 lines (33 loc) · 1.2 KB
/
.clang-format
File metadata and controls
34 lines (33 loc) · 1.2 KB
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
BasedOnStyle: "Google"
AlignAfterOpenBracket: Align
AlignArrayOfStructures: Left
AlignConsecutiveAssignments: Consecutive
AlignConsecutiveDeclarations: Consecutive
AlignEscapedNewlines: true
AlignOperands: Align
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
ColumnLimit: 150
PenaltyBreakOpenParenthesis: 100
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]