Input controls adjustments for libretro.
[SquirrelJME.git] / nanocoat / .clang-format
blob80d217ae86229c10915863b4d58275568641eb78
1 # ---------------------------------------------------------------------------
2 # SquirrelJME
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 # ---------------------------------------------------------------------------
8 BasedOnStyle: LLVM
9 AccessModifierOffset: -4
10 AlignAfterOpenBracket: DontAlign
11 AlignConsecutiveAssignments: None
12 AlignOperands: false
13 AllowAllArgumentsOnNextLine: false
14 AllowAllConstructorInitializersOnNextLine: false
15 AllowAllParametersOfDeclarationOnNextLine: false
16 AllowShortBlocksOnASingleLine: Never
17 AllowShortCaseLabelsOnASingleLine: false
18 AllowShortFunctionsOnASingleLine: None
19 AllowShortIfStatementsOnASingleLine: Never
20 AllowShortLambdasOnASingleLine: None
21 AllowShortLoopsOnASingleLine: false
22 AlwaysBreakAfterReturnType: None
23 AlwaysBreakTemplateDeclarations: Yes
24 BreakBeforeBraces: Custom
25 BraceWrapping:
26   AfterCaseLabel: false
27   AfterClass: true
28   AfterControlStatement: Always
29   AfterEnum: true
30   AfterFunction: true
31   AfterNamespace: true
32   AfterUnion: true
33   AfterStruct: true
34   BeforeCatch: false
35   BeforeElse: true
36   IndentBraces: false
37   SplitEmptyFunction: true
38   SplitEmptyRecord: true
39 BreakBeforeBinaryOperators: None
40 BreakBeforeTernaryOperators: false
41 BreakConstructorInitializers: AfterColon
42 BreakInheritanceList: AfterComma
43 ColumnLimit: 79
44 CompactNamespaces: false
45 ContinuationIndentWidth: 4
46 IndentCaseLabels: true
47 IndentPPDirectives: BeforeHash
48 IndentWidth: 4
49 KeepEmptyLinesAtTheStartOfBlocks: true
50 MaxEmptyLinesToKeep: 2
51 NamespaceIndentation: All
52 ObjCSpaceAfterProperty: false
53 ObjCSpaceBeforeProtocolList: true
54 PointerAlignment: Left
55 ReflowComments: false
56 SpaceAfterCStyleCast: false
57 SpaceAfterLogicalNot: false
58 SpaceAfterTemplateKeyword: false
59 SpaceBeforeAssignmentOperators: true
60 SpaceBeforeCpp11BracedList: false
61 SpaceBeforeCtorInitializerColon: true
62 SpaceBeforeInheritanceColon: true
63 SpaceBeforeParens: ControlStatements
64 SpaceBeforeRangeBasedForLoopColon: true
65 SpaceInEmptyParentheses: false
66 SpacesBeforeTrailingComments: 0
67 SpacesInAngles: false
68 SpacesInCStyleCastParentheses: false
69 SpacesInContainerLiterals: false
70 SpacesInParentheses: false
71 SpacesInSquareBrackets: false
72 TabWidth: 4
73 UseTab: ForContinuationAndIndentation
74 AlignConsecutiveMacros: None
75 IndentGotoLabels: false
76 IndentWrappedFunctionNames: false
77 ReferenceAlignment: Left
78 SortIncludes: CaseSensitive
79 AlwaysBreakBeforeMultilineStrings: false
80 BinPackParameters: true
81 BitFieldColonSpacing: Both
83 # Macro workarounds
84 StatementAttributeLikeMacros: ['SJME_DEPRECATED']
85 StatementMacros: ['SJME_REFPTR_CODE_BEGIN', 'SJME_REFPTR_CODE_END', 'SJME_REFPTR_VAR']