1 # ---------------------------------------------------------------------------
3 # Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
4 # ---------------------------------------------------------------------------
5 # SquirrelJME is under the Mozilla Public License Version 2.0.
6 # See license.mkd for licensing and copyright information.
7 # ---------------------------------------------------------------------------
10 AccessModifierOffset: -4
11 AlignAfterOpenBracket: AlwaysBreak
12 AlignArrayOfStructures: None
13 AlignConsecutiveAssignments:
15 AcrossEmptyLines: false
19 AlignConsecutiveBitFields:
21 AcrossEmptyLines: false
25 AlignConsecutiveDeclarations:
27 AcrossEmptyLines: false
31 AlignConsecutiveMacros:
33 AcrossEmptyLines: false
37 AlignConsecutiveShortCaseStatements:
39 AcrossEmptyLines: false
41 AlignCaseColons: false
42 AlignEscapedNewlines: DontAlign
43 AlignOperands: DontAlign
44 AlignTrailingComments:
47 AllowAllArgumentsOnNextLine: true
48 AllowAllParametersOfDeclarationOnNextLine: true
49 AllowBreakBeforeNoexceptSpecifier: Never
50 AllowShortBlocksOnASingleLine: Never
51 AllowShortCaseLabelsOnASingleLine: false
52 AllowShortEnumsOnASingleLine: false
53 AllowShortFunctionsOnASingleLine: None
54 AllowShortIfStatementsOnASingleLine: Never
55 AllowShortLambdasOnASingleLine: None
56 AllowShortLoopsOnASingleLine: false
57 AlwaysBreakAfterDefinitionReturnType: None
58 AlwaysBreakAfterReturnType: None
59 AlwaysBreakBeforeMultilineStrings: false
60 AlwaysBreakTemplateDeclarations: Yes
66 - sjme_attrCheckReturn
69 - sjme_attrFormatOuter
70 - sjme_attrInNegativeOnePositive
73 - sjme_attrInOutNotNull
75 - sjme_attrInPositiveNonZero
78 - sjme_attrOutNegativeOnePositive
80 - sjme_attrOutNotNullBuf
81 - sjme_attrOutNullable
82 - sjme_attrOutPositive
83 - sjme_attrOutPositiveNonZero
85 - sjme_attrReturnNever
86 - sjme_attrReturnNullable
95 BinPackArguments: false
96 BinPackParameters: false
97 BitFieldColonSpacing: Both
101 AfterControlStatement: Always
105 AfterObjCDeclaration: false
108 AfterExternBlock: true
111 BeforeLambdaBody: false
114 SplitEmptyFunction: true
115 SplitEmptyRecord: true
116 SplitEmptyNamespace: true
117 BreakAfterAttributes: Leave
118 BreakAfterJavaFieldAnnotations: false
120 BreakBeforeBinaryOperators: None
121 BreakBeforeBraces: Custom
122 BreakBeforeConceptDeclarations: Always
123 BreakBeforeInlineASMColon: OnlyMultiline
124 BreakBeforeTernaryOperators: false
125 BreakConstructorInitializers: AfterColon
126 BreakInheritanceList: AfterComma
127 BreakStringLiterals: true
129 CompactNamespaces: false
130 ConstructorInitializerIndentWidth: 4
131 ContinuationIndentWidth: 4
132 Cpp11BracedListStyle: true
133 DerivePointerAlignment: false
135 EmptyLineAfterAccessModifier: Never
136 EmptyLineBeforeAccessModifier: LogicalBlock
137 ExperimentalAutoDetectBinPacking: false
138 FixNamespaceComments: false
143 IncludeBlocks: Preserve
149 IncludeIsMainRegex: (Test)?$
150 IncludeIsMainSourceRegex: ""
151 IndentAccessModifiers: false
152 IndentCaseBlocks: false
153 IndentCaseLabels: true
154 IndentExternBlock: AfterExternBlock
155 IndentGotoLabels: false
156 IndentPPDirectives: BeforeHash
157 IndentRequiresClause: true
159 IndentWrappedFunctionNames: true
161 InsertNewlineAtEOF: false
162 InsertTrailingCommas: None
163 IntegerLiteralSeparator:
170 JavaScriptQuotes: Leave
171 JavaScriptWrapImports: true
172 KeepEmptyLinesAtEOF: false
173 KeepEmptyLinesAtTheStartOfBlocks: true
174 LambdaBodyIndentation: Signature
179 MaxEmptyLinesToKeep: 1
180 NamespaceIndentation: All
181 ObjCBinPackProtocolList: Auto
182 ObjCBlockIndentWidth: 2
183 ObjCBreakBeforeNestedBlockParam: true
184 ObjCSpaceAfterProperty: false
185 ObjCSpaceBeforeProtocolList: true
187 PackConstructorInitializers: BinPack
188 PenaltyBreakAssignment: 2
189 PenaltyBreakBeforeFirstCallParameter: 19
190 PenaltyBreakComment: 1000000
191 PenaltyBreakFirstLessLess: 120
192 PenaltyBreakOpenParenthesis: 0
193 PenaltyBreakString: 1000
194 PenaltyBreakTemplateDeclaration: 10
195 PenaltyExcessCharacter: 1000000
196 PenaltyIndentedWhitespace: 0
197 PenaltyReturnTypeOnItsOwnLine: 10
198 PointerAlignment: Left
199 QualifierAlignment: Leave
200 ReferenceAlignment: Left
201 ReflowComments: false
202 RemoveBracesLLVM: false
203 RemoveParentheses: Leave
204 RemoveSemicolon: false
205 RequiresClausePosition: OwnLine
206 RequiresExpressionIndentation: OuterScope
207 SeparateDefinitionBlocks: Leave
208 ShortNamespaceLines: 1
210 SortJavaStaticImport: Before
211 SortUsingDeclarations: LexicographicNumeric
212 SpaceAfterCStyleCast: false
213 SpaceAfterLogicalNot: false
214 SpaceAfterTemplateKeyword: false
215 SpaceAroundPointerQualifiers: Default
216 SpaceBeforeAssignmentOperators: true
217 SpaceBeforeCaseColon: false
218 SpaceBeforeCpp11BracedList: false
219 SpaceBeforeCtorInitializerColon: true
220 SpaceBeforeInheritanceColon: true
221 SpaceBeforeJsonColon: false
222 SpaceBeforeParens: Custom
223 SpaceBeforeParensOptions:
224 AfterControlStatements: true
225 AfterForeachMacros: true
226 AfterFunctionDeclarationName: false
227 AfterFunctionDefinitionName: false
229 AfterOverloadedOperator: false
230 AfterRequiresInClause: false
231 AfterRequiresInExpression: false
232 BeforeNonEmptyParentheses: false
233 SpaceBeforeRangeBasedForLoopColon: true
234 SpaceBeforeSquareBrackets: false
235 SpaceInEmptyBlock: false
236 SpacesBeforeTrailingComments: 0
237 SpacesInAngles: false
238 SpacesInContainerLiterals: false
239 SpacesInLineCommentPrefix:
242 SpacesInParens: Never
243 SpacesInParensOptions:
244 InConditionalStatements: false
246 InEmptyParentheses: false
248 SpacesInSquareBrackets: false
250 StatementAttributeLikeMacros:
253 - SJME_REFPTR_CODE_BEGIN
254 - SJME_REFPTR_CODE_END
256 - SJME_SCRITCHUI_DISPATCH_DECL
257 - SJME_SCRITCHUI_DISPATCH_CASE
258 - SJME_SCRITCHUI_DISPATCH_SWITCH_BEGIN
259 - SJME_SCRITCHUI_DISPATCH_SWITCH_END
260 - SJME_SCRITCHUI_DISPATCH_GENERIC_LISTENER
261 - SJME_SCRITCHUI_SERIAL_CHUNK
262 - SJME_SCRITCHUI_SERIAL_PASS
263 - SJME_SCRITCHUI_INVOKE_WAIT
267 VerilogBreakBetweenInstancePorts: true
268 WhitespaceSensitiveMacros:
270 - SJME_TOKEN_STRING_PP
274 - SJME_SCRITCHUI_SERIAL_CHUNK
277 AllowAllConstructorInitializersOnNextLine: false
278 SpaceInEmptyParentheses: false
279 SpacesInCStyleCastParentheses: false
280 SpacesInParentheses: false