forked from TinkerTools/tinker9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_clang-format
42 lines (41 loc) · 1.57 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
BasedOnStyle: LLVM
AlignOperands: false
AlignConsecutiveMacros: true
AlwaysBreakTemplateDeclarations: true
ColumnLimit: 80
IndentPPDirectives: AfterHash
FixNamespaceComments: false
BreakConstructorInitializers: BeforeComma
PointerAlignment: Left
AllowShortFunctionsOnASingleLine: Empty
MaxEmptyLinesToKeep: 2
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