| 1 |
# |
| 2 |
# License: Zlib |
| 3 |
# see https://gitlab.com/cam900/vgsound_emu/-/blob/main/LICENSE for more details |
| 4 |
# |
| 5 |
# Copyright holder(s): cam900 |
| 6 |
# Clang Format setting for vgsound_emu |
| 7 |
# |
| 8 |
--- |
| 9 |
BasedOnStyle: Microsoft |
| 10 |
UseCRLF: true |
| 11 |
IndentWidth: 4 |
| 12 |
ColumnLimit: 0 |
| 13 |
--- |
| 14 |
Language: Proto |
| 15 |
DisableFormat: true |
| 16 |
--- |
| 17 |
Language: TableGen |
| 18 |
DisableFormat: true |
| 19 |
--- |
| 20 |
Language: TextProto |
| 21 |
DisableFormat: true |
| 22 |
--- |
| 23 |
Language: Cpp |
| 24 |
TabWidth: 4 |
| 25 |
UseTab: Always |
| 26 |
AccessModifierOffset: 4 |
| 27 |
ColumnLimit: 100 |
| 28 |
AlignAfterOpenBracket: Align |
| 29 |
AlignArrayOfStructures: Right |
| 30 |
AlignConsecutiveAssignments: |
| 31 |
Enabled: true |
| 32 |
AcrossEmptyLines: true |
| 33 |
AcrossComments: false |
| 34 |
AlignCompound: true |
| 35 |
PadOperators: true |
| 36 |
AlignConsecutiveMacros: |
| 37 |
Enabled: true |
| 38 |
AcrossEmptyLines: true |
| 39 |
AcrossComments: false |
| 40 |
AlignCompound: true |
| 41 |
PadOperators: true |
| 42 |
AlignConsecutiveBitFields: |
| 43 |
Enabled: true |
| 44 |
AcrossEmptyLines: true |
| 45 |
AcrossComments: false |
| 46 |
AlignCompound: true |
| 47 |
PadOperators: true |
| 48 |
AlignEscapedNewlines: Right |
| 49 |
AlignOperands: AlignAfterOperator |
| 50 |
AlignTrailingComments: true |
| 51 |
AllowAllArgumentsOnNextLine: false |
| 52 |
AllowAllParametersOfDeclarationOnNextLine: false |
| 53 |
AllowShortBlocksOnASingleLine: Empty |
| 54 |
AllowShortCaseLabelsOnASingleLine: true |
| 55 |
AllowShortEnumsOnASingleLine: false |
| 56 |
AllowShortFunctionsOnASingleLine: All |
| 57 |
AllowShortIfStatementsOnASingleLine: Never |
| 58 |
AllowShortLambdasOnASingleLine: Inline |
| 59 |
AllowShortLoopsOnASingleLine: false |
| 60 |
AlwaysBreakAfterReturnType: None |
| 61 |
AlwaysBreakBeforeMultilineStrings: true |
| 62 |
AlwaysBreakTemplateDeclarations: Yes |
| 63 |
BinPackArguments: false |
| 64 |
BinPackParameters: false |
| 65 |
BitFieldColonSpacing: Both |
| 66 |
BreakBeforeBraces: Allman |
| 67 |
BreakBeforeBinaryOperators: None |
| 68 |
BreakBeforeConceptDeclarations: Always |
| 69 |
BreakBeforeTernaryOperators: true |
| 70 |
BreakConstructorInitializers: BeforeComma |
| 71 |
BreakInheritanceList: BeforeComma |
| 72 |
BreakStringLiterals: false |
| 73 |
CompactNamespaces: true |
| 74 |
ConstructorInitializerIndentWidth: 4 |
| 75 |
ContinuationIndentWidth: 2 |
| 76 |
Cpp11BracedListStyle: true |
| 77 |
DeriveLineEnding: true |
| 78 |
DerivePointerAlignment: true |
| 79 |
EmptyLineAfterAccessModifier: Leave |
| 80 |
EmptyLineBeforeAccessModifier: Always |
| 81 |
FixNamespaceComments: true |
| 82 |
IncludeBlocks: Regroup |
| 83 |
IndentAccessModifiers: true |
| 84 |
IndentCaseBlocks: true |
| 85 |
IndentCaseLabels: true |
| 86 |
IndentGotoLabels: true |
| 87 |
IndentPPDirectives: AfterHash |
| 88 |
IndentRequiresClause: true |
| 89 |
IndentRequires: true |
| 90 |
IndentWrappedFunctionNames: false |
| 91 |
InsertBraces: true |
| 92 |
KeepEmptyLinesAtTheStartOfBlocks: true |
| 93 |
LambdaBodyIndentation: Signature |
| 94 |
MaxEmptyLinesToKeep: 1 |
| 95 |
NamespaceIndentation: All |
| 96 |
PPIndentWidth: 1 |
| 97 |
PackConstructorInitializers: Never |
| 98 |
PointerAlignment: Right |
| 99 |
RawStringFormats: |
| 100 |
- Language: Cpp |
| 101 |
Delimiters: |
| 102 |
- cc |
| 103 |
- CC |
| 104 |
- cpp |
| 105 |
- Cpp |
| 106 |
- CPP |
| 107 |
- 'c++' |
| 108 |
- 'C++' |
| 109 |
CanonicalDelimiter: '' |
| 110 |
BasedOnStyle: Microsoft |
| 111 |
ReferenceAlignment: Pointer |
| 112 |
ReflowComments: true |
| 113 |
RemoveBracesLLVM: false |
| 114 |
RequiresClausePosition: OwnLine |
| 115 |
SeparateDefinitionBlocks: Always |
| 116 |
ShortNamespaceLines: 0 |
| 117 |
SortIncludes: CaseSensitive |
| 118 |
SortUsingDeclarations: true |
| 119 |
SpaceAfterCStyleCast: false |
| 120 |
SpaceAfterLogicalNot: false |
| 121 |
SpaceAfterTemplateKeyword: false |
| 122 |
SpaceAroundPointerQualifiers: After |
| 123 |
SpaceBeforeAssignmentOperators: true |
| 124 |
SpaceBeforeCaseColon: false |
| 125 |
SpaceBeforeCpp11BracedList: false |
| 126 |
SpaceBeforeCtorInitializerColon: true |
| 127 |
SpaceBeforeInheritanceColon: true |
| 128 |
SpaceBeforeParens: Custom |
| 129 |
SpaceBeforeParensOptions: |
| 130 |
AfterControlStatements: true |
| 131 |
AfterForeachMacros: false |
| 132 |
AfterFunctionDeclarationName: false |
| 133 |
AfterFunctionDefinitionName: false |
| 134 |
AfterIfMacros: true |
| 135 |
AfterOverloadedOperator: false |
| 136 |
AfterRequiresInClause: false |
| 137 |
AfterRequiresInExpression: false |
| 138 |
BeforeNonEmptyParentheses: false |
| 139 |
SpaceBeforeRangeBasedForLoopColon: true |
| 140 |
SpaceBeforeSquareBrackets: false |
| 141 |
SpaceInEmptyBlock: false |
| 142 |
SpaceInEmptyParentheses: false |
| 143 |
SpacesBeforeTrailingComments: 2 |
| 144 |
SpacesInAngles: Never |
| 145 |
SpacesInCStyleCastParentheses: false |
| 146 |
SpacesInConditionalStatement: false |
| 147 |
SpacesInContainerLiterals: false |
| 148 |
SpacesInLineCommentPrefix: |
| 149 |
Minimum: 1 |
| 150 |
Maximum: -1 |
| 151 |
SpacesInParentheses: false |
| 152 |
SpacesInSquareBrackets: false |
| 153 |
Standard: Auto |
| 154 |
StatementAttributeLikeMacros: [] |