forked from TinkerTools/tinker9
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_clang-format
50 lines (49 loc) · 1.92 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
BasedOnStyle: LLVM
AlignAfterOpenBracket: DontAlign
AlignOperands: false
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
AlwaysBreakTemplateDeclarations: true
ColumnLimit: 120
IndentPPDirectives: None
FixNamespaceComments: false
BreakConstructorInitializers: BeforeComma
PointerAlignment: Left
AllowAllArgumentsOnNextLine: false
AllowShortBlocksOnASingleLine: Always
AllowShortFunctionsOnASingleLine: Empty
BreakBeforeBinaryOperators: NonAssignment
PenaltyBreakAssignment: 1000
PenaltyBreakBeforeFirstCallParameter: 1000
PenaltyBreakOpenParenthesis: 1000
MaxEmptyLinesToKeep: 1
AccessModifierOffset: -3
IndentWidth: 3
ConstructorInitializerIndentWidth: 3
ContinuationIndentWidth: 3
SpaceBeforeParens: ControlStatements
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
StatementMacros:
- __global__
- __host__
- __device__
- SEQ_ROUTINE
- SEQ_CUDA
- _Pragma