generated from bigladder/atheneum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
126 lines (125 loc) · 3.77 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Supports clang-format 10
---
Language: Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: None
AlignConsecutiveDeclarations: None
AlignConsecutiveMacros: None
AlignEscapedNewlines: Right
#CF12# AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true # depr. after CF14, see PackConstructorInitializers
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
#CF12# AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
#CF12# AttributeMacros: []
BinPackArguments: false
BinPackParameters: false
#CF12# BitFieldColonSpacing:
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Stroustrup
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: AfterComma
BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: ''
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
#CF11# DeriveLindEnding: false
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros: []
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
- Regex: '.*'
Priority: 1
IncludeIsMainRegex: '(test)?$'
IncludeIsMainSourceRegex: ''
#CF13# IndentAccessModifiers:
#CF11# IndentCaseBlocks:
IndentCaseLabels: false
#CF12# IndentExternBlock
IndentGotoLabels: false
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
#CF12# InsertTrailingCommas:
KeepEmptyLinesAtTheStartOfBlocks: true
#CF13# LambdaBodyIndentation: Signature
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
NamespaceMacros: []
#CF14# PPIndentWidth:
#CF14# PackConstructorInitializers: Never
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
#CF12# PenaltyIndentedWhitespace:
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
#CF14# QualifierAlignment
#CF14# QualifierOrder
RawStringFormats: []
#CF14# ReferenceAlignment: Right
ReflowComments: true
#CF14# ShortNamespaceLines:
SortIncludes: Never
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
#CF12# SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
#CF14# SpaceBeforeParensOptions:
# AfterControlStatements: true
# AfterFunctionDefinitionName: true
SpaceBeforeRangeBasedForLoopColon: true
#CF11# SpaceBeforeSquareBrackets: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
#CF14# SpacesInAngles: false
SpacesInCStyleCastParentheses: false
#CF11# SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
#CF14# SpacesInLineCommentPrefix:
# Minimum: 0
# Maximum: 1
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
#CF12# StatementAttributeLikeMacros:
StatementMacros: []
TabWidth: 4
#CF11# UseCRLF: Never
UseTab: Never
#CF12# WhitespaceSensitiveMacros []