mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-26 22:40:33 +00:00
151346d62c
Version 18.1.6 pulled from https://github.com/xeeynamo/sotn-decomp/releases and compiled with the following: ```Dockerfile FROM alpine:latest RUN apk add --no-cache \ build-base \ cmake \ git \ ninja \ libstdc++ \ zlib-dev \ python3 ENV LLVM_VERSION=llvmorg-18.1.6 RUN mkdir -p /opt/llvm \ && cd /opt/llvm \ && git clone --depth=1 --branch $LLVM_VERSION https://github.com/llvm/llvm-project.git \ && mkdir -p llvm-project/build \ && cd llvm-project/build \ && cmake -G Ninja \ -DLLVM_ENABLE_PROJECTS=clang \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_FLAGS="-static-libstdc++ -static-libgcc" \ -DCMAKE_EXE_LINKER_FLAGS="-static" \ -DLLVM_ENABLE_RTTI=ON \ ../llvm \ && ninja clang-format \ && strip bin/clang-format FROM scratch COPY --from=0 /opt/llvm/llvm-project/build/bin/clang-format /clang-format ENTRYPOINT ["/usr/local/bin/clang-format"] ``` `docker build --output . .` Original source code: https://github.com/llvm/llvm-project/tree/llvmorg-18.1.6 commit: `1118c2e05e67a36ed8ca250524525cdb66a55256`
237 lines
6.3 KiB
YAML
237 lines
6.3 KiB
YAML
---
|
|
Language: Cpp
|
|
# BasedOnStyle: LLVM
|
|
AccessModifierOffset: -2
|
|
AlignAfterOpenBracket: Align
|
|
AlignArrayOfStructures: None
|
|
AlignConsecutiveAssignments:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: true
|
|
AlignConsecutiveBitFields:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: false
|
|
AlignConsecutiveDeclarations:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: false
|
|
AlignConsecutiveMacros:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: false
|
|
AlignConsecutiveShortCaseStatements:
|
|
Enabled: true
|
|
AcrossEmptyLines: true
|
|
AcrossComments: true
|
|
AlignCaseColons: false
|
|
AlignEscapedNewlines: Right
|
|
AlignOperands: Align
|
|
AlignTrailingComments:
|
|
Kind: Always
|
|
OverEmptyLines: 0
|
|
AllowAllArgumentsOnNextLine: true
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortEnumsOnASingleLine: true
|
|
AllowShortBlocksOnASingleLine: Never
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: All
|
|
AllowShortLambdasOnASingleLine: All
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
AlwaysBreakTemplateDeclarations: MultiLine
|
|
AttributeMacros:
|
|
- __capability
|
|
BinPackArguments: true
|
|
BinPackParameters: true
|
|
BraceWrapping:
|
|
AfterCaseLabel: false
|
|
AfterClass: false
|
|
AfterControlStatement: Never
|
|
AfterEnum: false
|
|
AfterFunction: false
|
|
AfterNamespace: false
|
|
AfterObjCDeclaration: false
|
|
AfterStruct: false
|
|
AfterUnion: false
|
|
AfterExternBlock: false
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
BeforeLambdaBody: false
|
|
BeforeWhile: false
|
|
IndentBraces: false
|
|
SplitEmptyFunction: true
|
|
SplitEmptyRecord: true
|
|
SplitEmptyNamespace: true
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeBraces: Attach
|
|
BreakBeforeConceptDeclarations: Always
|
|
BreakInheritanceList: BeforeColon
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializers: BeforeColon
|
|
BreakAfterJavaFieldAnnotations: false
|
|
BreakAfterAttributes: Leave
|
|
BreakArrays: true
|
|
BreakBeforeInlineASMColon: OnlyMultiline
|
|
BreakStringLiterals: true
|
|
ColumnLimit: 80
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
QualifierAlignment: Left
|
|
CompactNamespaces: false
|
|
ConstructorInitializerIndentWidth: 4
|
|
ContinuationIndentWidth: 4
|
|
Cpp11BracedListStyle: true
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
EmptyLineAfterAccessModifier: Never
|
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
|
ExperimentalAutoDetectBinPacking: false
|
|
PackConstructorInitializers: NextLine
|
|
FixNamespaceComments: true
|
|
ForEachMacros:
|
|
- foreach
|
|
- Q_FOREACH
|
|
- BOOST_FOREACH
|
|
IfMacros:
|
|
- KJ_IF_MAYBE
|
|
IncludeBlocks: Preserve
|
|
IncludeCategories:
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
Priority: 2
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
Priority: 3
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
- Regex: '.*'
|
|
Priority: 1
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
IncludeIsMainRegex: '(Test)?$'
|
|
IncludeIsMainSourceRegex: ''
|
|
IndentAccessModifiers: false
|
|
IndentCaseLabels: false
|
|
IndentCaseBlocks: false
|
|
IndentGotoLabels: true
|
|
IndentPPDirectives: None
|
|
IndentExternBlock: AfterExternBlock
|
|
IndentRequiresClause: false
|
|
IndentWidth: 4
|
|
IndentWrappedFunctionNames: false
|
|
InsertBraces: false
|
|
InsertNewlineAtEOF: true
|
|
InsertTrailingCommas: None
|
|
IntegerLiteralSeparator:
|
|
Binary: 0
|
|
BinaryMinDigits: 0
|
|
Decimal: 0
|
|
DecimalMinDigits: 0
|
|
Hex: 0
|
|
HexMinDigits: 0
|
|
JavaScriptQuotes: Leave
|
|
JavaScriptWrapImports: true
|
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
KeepEmptyLinesAtEOF: false
|
|
LambdaBodyIndentation: Signature
|
|
LineEnding: DeriveLF
|
|
MacroBlockBegin: ''
|
|
MacroBlockEnd: ''
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
ObjCBinPackProtocolList: Auto
|
|
ObjCBlockIndentWidth: 2
|
|
ObjCBreakBeforeNestedBlockParam: true
|
|
ObjCSpaceAfterProperty: false
|
|
ObjCSpaceBeforeProtocolList: true
|
|
PenaltyBreakAssignment: 2
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
PenaltyBreakComment: 300
|
|
PenaltyBreakFirstLessLess: 120
|
|
PenaltyBreakOpenParenthesis: 1
|
|
PenaltyBreakString: 1000
|
|
PenaltyBreakTemplateDeclaration: 10
|
|
PenaltyExcessCharacter: 1000000
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
PenaltyIndentedWhitespace: 1
|
|
PointerAlignment: Left
|
|
PPIndentWidth: -1
|
|
ReferenceAlignment: Pointer
|
|
ReflowComments: true
|
|
RemoveBracesLLVM: false
|
|
RemoveParentheses: ReturnStatement
|
|
RemoveSemicolon: false
|
|
RequiresClausePosition: OwnLine
|
|
RequiresExpressionIndentation: OuterScope
|
|
SeparateDefinitionBlocks: Leave
|
|
ShortNamespaceLines: 1
|
|
SortIncludes: Never
|
|
SortJavaStaticImport: Before
|
|
SortUsingDeclarations: Never
|
|
SpaceAfterCStyleCast: false
|
|
SpaceAfterLogicalNot: false
|
|
SpaceAfterTemplateKeyword: true
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeCaseColon: false
|
|
SpaceBeforeCpp11BracedList: false
|
|
SpaceBeforeCtorInitializerColon: true
|
|
SpaceBeforeInheritanceColon: true
|
|
SpaceBeforeJsonColon: false
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceBeforeParensOptions:
|
|
AfterControlStatements: true
|
|
AfterForeachMacros: true
|
|
AfterFunctionDefinitionName: false
|
|
AfterFunctionDeclarationName: false
|
|
AfterIfMacros: true
|
|
AfterOverloadedOperator: false
|
|
AfterRequiresInClause: false
|
|
AfterRequiresInExpression: false
|
|
BeforeNonEmptyParentheses: false
|
|
SpaceAroundPointerQualifiers: Before
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceInEmptyBlock: false
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInAngles: Never
|
|
SpacesInContainerLiterals: true
|
|
SpacesInLineCommentPrefix:
|
|
Minimum: 1
|
|
Maximum: 1
|
|
SpacesInParens: Never
|
|
SpacesInParensOptions:
|
|
InCStyleCasts: false
|
|
InConditionalStatements: false
|
|
InEmptyParentheses: false
|
|
Other: false
|
|
SpacesInSquareBrackets: false
|
|
SpaceBeforeSquareBrackets: false
|
|
BitFieldColonSpacing: Both
|
|
Standard: Latest
|
|
StatementAttributeLikeMacros:
|
|
- Q_EMIT
|
|
StatementMacros:
|
|
- Q_UNUSED
|
|
- QT_REQUIRE_VERSION
|
|
TabWidth: 4
|
|
UseTab: Never
|
|
VerilogBreakBetweenInstancePorts: true
|
|
WhitespaceSensitiveMacros:
|
|
- BOOST_PP_STRINGIZE
|
|
- CF_SWIFT_NAME
|
|
- NS_SWIFT_NAME
|
|
- PP_STRINGIZE
|
|
- STRINGIZE
|
|
...
|
|
|