forked from flatironinstitute/finufft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
33 lines (33 loc) · 880 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
33
---
BasedOnStyle: LLVM
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignConsecutiveAssignments: Consecutive
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments:
Kind: Always
OverEmptyLines: 1
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: true
BreakBeforeBraces: Attach
BreakBeforeBinaryOperators: None
ColumnLimit: 90
ExperimentalAutoDetectBinPacking: true
FixNamespaceComments: true
IndentWidth: 2
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ReflowComments: true
PenaltyBreakComment: 1
PenaltyBreakOpenParenthesis: 1 # modified; was 0
SortIncludes: CaseSensitive
SortUsingDeclarations: true
SpacesBeforeTrailingComments: 1
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
TabWidth: 2
UseTab: Never
...