-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy path.clang-format
More file actions
50 lines (49 loc) · 1.45 KB
/
.clang-format
File metadata and controls
50 lines (49 loc) · 1.45 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# In comments: the options used by DuckDB.
BasedOnStyle: Google
# BasedOnStyle: LLVM
AlignAfterOpenBracket: BlockIndent
# AlignAfterOpenBracket: Align
AllowAllArgumentsOnNextLine: false
# AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
# AllowAllParametersOfDeclarationOnNextLine: true
AlwaysBreakAfterReturnType: None
PenaltyReturnTypeOnItsOwnLine: 1000
AllowShortFunctionsOnASingleLine: Empty
# AllowShortFunctionsOnASingleLine: false
IncludeBlocks: Preserve
# IncludeBlocks: Regroup
SortIncludes: Never
SpaceAfterCStyleCast: false
Standard: Auto
AllowShortBlocksOnASingleLine: Empty
Cpp11BracedListStyle: false
IndentCaseLabels: false
IndentCaseBlocks: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ContinuationIndentWidth: 2
IndentWidth: 2
# TabWidth: 4
# IndentWidth: 4
# ColumnLimit: 120
# UseTab: ForIndentation
DerivePointerAlignment: false
PointerAlignment: Left
# PointerAlignment: Right
BinPackArguments: false
BinPackParameters: false
AlignConsecutiveMacros: true
AlignTrailingComments: true
AllowAllConstructorInitializersOnNextLine: true
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
AccessModifierOffset: -2
RemoveBracesLLVM: false
InsertBraces: true