stellarUCI Chess engine written in C++20 |
git clone git://git.dimitrijedobrota.com/stellar.git |
Log | Files | Refs | README | LICENSE |
.clang-format (6041B)
0 ---
1 Language: Cpp
2 # BasedOnStyle: Microsoft
3 AccessModifierOffset: -2
4 AlignAfterOpenBracket: Align
5 AlignArrayOfStructures: None
6 AlignConsecutiveAssignments:
7 Enabled: false
8 AcrossEmptyLines: false
9 AcrossComments: false
10 AlignCompound: false
11 PadOperators: true
12 AlignConsecutiveBitFields:
13 Enabled: false
14 AcrossEmptyLines: false
15 AcrossComments: false
16 AlignCompound: false
17 PadOperators: false
18 AlignConsecutiveDeclarations:
19 Enabled: false
20 AcrossEmptyLines: false
21 AcrossComments: false
22 AlignCompound: false
23 PadOperators: false
24 AlignConsecutiveMacros:
25 Enabled: false
26 AcrossEmptyLines: false
27 AcrossComments: false
28 AlignCompound: false
29 PadOperators: false
30 AlignEscapedNewlines: Right
31 AlignOperands: Align
32 AlignTrailingComments: true
33 AllowAllArgumentsOnNextLine: true
34 AllowAllParametersOfDeclarationOnNextLine: true
35 AllowShortEnumsOnASingleLine: false
36 AllowShortBlocksOnASingleLine: false
37 AllowShortCaseLabelsOnASingleLine: true
38 AllowShortFunctionsOnASingleLine: true
39 AllowShortLambdasOnASingleLine: All
40 AllowShortIfStatementsOnASingleLine: Always
41 AllowShortLoopsOnASingleLine: false
42 AlwaysBreakAfterDefinitionReturnType: None
43 AlwaysBreakAfterReturnType: None
44 AlwaysBreakBeforeMultilineStrings: false
45 AlwaysBreakTemplateDeclarations: MultiLine
46 AttributeMacros:
47 - __capability
48 BinPackArguments: true
49 BinPackParameters: true
50 BraceWrapping:
51 AfterCaseLabel: false
52 AfterClass: false
53 AfterControlStatement: false
54 AfterEnum: false
55 AfterFunction: false
56 AfterNamespace: false
57 AfterObjCDeclaration: false
58 AfterStruct: false
59 AfterUnion: false
60 AfterExternBlock: false
61 BeforeCatch: false
62 BeforeElse: false
63 BeforeLambdaBody: false
64 BeforeWhile: false
65 IndentBraces: false
66 SplitEmptyFunction: true
67 SplitEmptyRecord: true
68 SplitEmptyNamespace: true
69 BreakBeforeBinaryOperators: None
70 BreakBeforeConceptDeclarations: Always
71 BreakBeforeBraces: Custom
72 BreakBeforeInheritanceComma: false
73 BreakInheritanceList: BeforeColon
74 BreakBeforeTernaryOperators: true
75 BreakConstructorInitializersBeforeComma: false
76 BreakConstructorInitializers: BeforeColon
77 BreakAfterJavaFieldAnnotations: false
78 BreakStringLiterals: true
79 ColumnLimit: 110
80 CommentPragmas: '^ IWYU pragma:'
81 QualifierAlignment: Leave
82 CompactNamespaces: false
83 ConstructorInitializerIndentWidth: 4
84 ContinuationIndentWidth: 4
85 Cpp11BracedListStyle: true
86 DeriveLineEnding: true
87 DerivePointerAlignment: false
88 DisableFormat: false
89 EmptyLineAfterAccessModifier: Never
90 EmptyLineBeforeAccessModifier: LogicalBlock
91 ExperimentalAutoDetectBinPacking: false
92 PackConstructorInitializers: BinPack
93 BasedOnStyle: ''
94 ConstructorInitializerAllOnOneLineOrOnePerLine: false
95 AllowAllConstructorInitializersOnNextLine: true
96 FixNamespaceComments: true
97 ForEachMacros:
98 - foreach
99 - Q_FOREACH
100 - BOOST_FOREACH
101 IfMacros:
102 - KJ_IF_MAYBE
103 IncludeBlocks: Preserve
104 IncludeCategories:
105 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
106 Priority: 2
107 SortPriority: 0
108 CaseSensitive: false
109 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
110 Priority: 3
111 SortPriority: 0
112 CaseSensitive: false
113 - Regex: '.*'
114 Priority: 1
115 SortPriority: 0
116 CaseSensitive: false
117 IncludeIsMainRegex: '(Test)?$'
118 IncludeIsMainSourceRegex: ''
119 IndentAccessModifiers: false
120 IndentCaseLabels: false
121 IndentCaseBlocks: false
122 IndentGotoLabels: true
123 IndentPPDirectives: None
124 IndentExternBlock: AfterExternBlock
125 IndentRequiresClause: true
126 IndentWidth: 4
127 IndentWrappedFunctionNames: false
128 InsertBraces: false
129 InsertTrailingCommas: None
130 JavaScriptQuotes: Leave
131 JavaScriptWrapImports: true
132 KeepEmptyLinesAtTheStartOfBlocks: true
133 LambdaBodyIndentation: Signature
134 MacroBlockBegin: ''
135 MacroBlockEnd: ''
136 MaxEmptyLinesToKeep: 1
137 NamespaceIndentation: None
138 ObjCBinPackProtocolList: Auto
139 ObjCBlockIndentWidth: 2
140 ObjCBreakBeforeNestedBlockParam: true
141 ObjCSpaceAfterProperty: false
142 ObjCSpaceBeforeProtocolList: true
143 PenaltyBreakAssignment: 2
144 PenaltyBreakBeforeFirstCallParameter: 19
145 PenaltyBreakComment: 300
146 PenaltyBreakFirstLessLess: 120
147 PenaltyBreakOpenParenthesis: 0
148 PenaltyBreakString: 1000
149 PenaltyBreakTemplateDeclaration: 10
150 PenaltyExcessCharacter: 1000000
151 PenaltyReturnTypeOnItsOwnLine: 1000
152 PenaltyIndentedWhitespace: 0
153 PointerAlignment: Right
154 PPIndentWidth: -1
155 ReferenceAlignment: Pointer
156 ReflowComments: true
157 RemoveBracesLLVM: false
158 RequiresClausePosition: OwnLine
159 SeparateDefinitionBlocks: Leave
160 ShortNamespaceLines: 1
161 SortIncludes: CaseSensitive
162 SortJavaStaticImport: Before
163 SortUsingDeclarations: true
164 SpaceAfterCStyleCast: false
165 SpaceAfterLogicalNot: false
166 SpaceAfterTemplateKeyword: true
167 SpaceBeforeAssignmentOperators: true
168 SpaceBeforeCaseColon: false
169 SpaceBeforeCpp11BracedList: false
170 SpaceBeforeCtorInitializerColon: true
171 SpaceBeforeInheritanceColon: true
172 SpaceBeforeParens: ControlStatements
173 SpaceBeforeParensOptions:
174 AfterControlStatements: true
175 AfterForeachMacros: true
176 AfterFunctionDefinitionName: false
177 AfterFunctionDeclarationName: false
178 AfterIfMacros: true
179 AfterOverloadedOperator: false
180 AfterRequiresInClause: false
181 AfterRequiresInExpression: false
182 BeforeNonEmptyParentheses: false
183 SpaceAroundPointerQualifiers: Default
184 SpaceBeforeRangeBasedForLoopColon: true
185 SpaceInEmptyBlock: false
186 SpaceInEmptyParentheses: false
187 SpacesBeforeTrailingComments: 1
188 SpacesInAngles: Never
189 SpacesInConditionalStatement: false
190 SpacesInContainerLiterals: true
191 SpacesInCStyleCastParentheses: false
192 SpacesInLineCommentPrefix:
193 Minimum: 1
194 Maximum: -1
195 SpacesInParentheses: false
196 SpacesInSquareBrackets: false
197 SpaceBeforeSquareBrackets: false
198 BitFieldColonSpacing: Both
199 Standard: Latest
200 StatementAttributeLikeMacros:
201 - Q_EMIT
202 StatementMacros:
203 - Q_UNUSED
204 - QT_REQUIRE_VERSION
205 TabWidth: 4
206 UseCRLF: false
207 UseTab: Never
208 WhitespaceSensitiveMacros:
209 - STRINGIZE
210 - PP_STRINGIZE
211 - BOOST_PP_STRINGIZE
212 - NS_SWIFT_NAME
213 - CF_SWIFT_NAME
214 ...