forked from NVIDIA/nvcomp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
36 lines (36 loc) · 1.01 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
BasedOnStyle: LLVM
IndentWidth: 2
ColumnLimit: 80
ContinuationIndentWidth: 4
BinPackParameters: false
BinPackArguments: false
AllowAllParametersOfDeclarationOnNextLine: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: true
AfterClass: true
AfterControlStatement: false
AfterFunction: true
AfterNamespace: true
AfterUnion: true
AfterExternBlock: false
BeforeElse: false
IndentBraces: false
SplitEmptyRecord: true
# BreakInheritanceList: AfterColon
DerivePointerAlignment: false
PointerAlignment: Left
AlignAfterOpenBracket: AlwaysBreak
NamespaceIndentation: None
SpaceBeforeParens: true
# SpaceBeforeRangeBasedForLoopColon: true
# SpaceBeforeInheritanceColon: true
AlwaysBreakTemplateDeclarations: true
BreakBeforeBinaryOperators: true
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true