1

fix .clang-format json errors

This commit is contained in:
2022-07-24 22:41:31 +02:00
parent 854752ec0d
commit ed842e879c

View File

@ -1,7 +1,7 @@
--- ---
BasedOnStyle: WebKit BasedOnStyle: WebKit
AccessModifierOffset: '-4' AccessModifierOffset: -4
AlignAfterOpenBracket: Align AlignAfterOpenBracket: Align
# Don't vertically align too much to not fuck with VC # Don't vertically align too much to not fuck with VC
@ -13,26 +13,26 @@ AlignConsecutiveMacros: None
AlignEscapedNewlines: DontAlign AlignEscapedNewlines: DontAlign
AlignOperands: AlignAfterOperator AlignOperands: AlignAfterOperator
AlignTrailingComments: 'true' AlignTrailingComments: true
AllowAllArgumentsOnNextLine: 'false' AllowAllArgumentsOnNextLine: false
# DEPRECATED: AllowAllConstructorInitializersOnNextLine: 'true' # DEPRECATED: AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: 'false' AllowAllParametersOfDeclarationOnNextLine: false
# Allow single line stuff # Allow single line stuff
AllowShortBlocksOnASingleLine: Always AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: 'true' AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: 'true' AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: AllIfsAndElse AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLambdasOnASingleLine: All AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: 'true' AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: None AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: 'false' AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: 'No' AlwaysBreakTemplateDeclarations: 'No'
# Don't force single line for each # Don't force single line for each
BinPackArguments: 'true' BinPackArguments: true
BinPackParameters: 'true' BinPackParameters: true
BitFieldColonSpacing: Both BitFieldColonSpacing: Both
BreakBeforeBinaryOperators: None BreakBeforeBinaryOperators: None
@ -40,101 +40,101 @@ BreakBeforeBinaryOperators: None
# Braces completely attached, should be the same as BreakBeforeBraces: Attach # Braces completely attached, should be the same as BreakBeforeBraces: Attach
BreakBeforeBraces: Custom BreakBeforeBraces: Custom
BraceWrapping: BraceWrapping:
AfterCaseLabel: 'false' AfterCaseLabel: false
AfterClass: 'false' AfterClass: false
AfterControlStatement: Never AfterControlStatement: Never
AfterEnum: 'false' AfterEnum: false
AfterFunction: 'false' AfterFunction: false
AfterNamespace: 'false' AfterNamespace: false
AfterStruct: 'false' AfterStruct: false
AfterUnion: 'false' AfterUnion: false
AfterExternBlock: 'false' AfterExternBlock: false
BeforeCatch: 'false' BeforeCatch: false
BeforeElse: 'false' BeforeElse: false
BeforeLambdaBody: 'false' BeforeLambdaBody: false
BeforeWhile: 'false' BeforeWhile: false
IndentBraces: 'false' IndentBraces: false
SplitEmptyFunction: 'false' SplitEmptyFunction: false
SplitEmptyRecord: 'false' SplitEmptyRecord: false
SplitEmptyNamespace: 'false' SplitEmptyNamespace: false
BreakBeforeConceptDeclarations: 'false' BreakBeforeConceptDeclarations: false
BreakBeforeTernaryOperators: 'true' BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BeforeColon BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon BreakInheritanceList: BeforeColon
BreakStringLiterals: 'false' BreakStringLiterals: false
ColumnLimit: '0' ColumnLimit: 0
CompactNamespaces: 'false' CompactNamespaces: false
# DEPRECATED: ConstructorInitializerAllOnOneLineOrOnePerLine: 'false' # DEPRECATED: ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: '2' ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: '2' ContinuationIndentWidth: 2
Cpp11BracedListStyle: 'true' Cpp11BracedListStyle: false
# Force my style onto everything :) # Force my style onto everything :)
DeriveLineEnding: 'false' DeriveLineEnding: false
DerivePointerAlignment: 'false' DerivePointerAlignment: false
DisableFormat: 'false' DisableFormat: false
EmptyLineAfterAccessModifier: Never EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always EmptyLineBeforeAccessModifier: Always
ExperimentalAutoDetectBinPacking: 'false' ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: 'true' FixNamespaceComments: false
IncludeBlocks: Preserve IncludeBlocks: Preserve
IndentAccessModifiers: 'false' # don't indent, use AccessModifierOffset instead IndentAccessModifiers: false # don't indent, use AccessModifierOffset instead
IndentCaseBlocks: 'false' IndentCaseBlocks: false
IndentCaseLabels: 'false' IndentCaseLabels: false
IndentExternBlock: Indent IndentExternBlock: Indent
IndentGotoLabels: 'false' IndentGotoLabels: false
IndentPPDirectives: None IndentPPDirectives: None
IndentRequires: 'false' IndentRequires: false
IndentWidth: '4' IndentWidth: 4
IndentWrappedFunctionNames: 'false' IndentWrappedFunctionNames: false
# TODO: InsertBraces: 'true' # TODO: InsertBraces: false
KeepEmptyLinesAtTheStartOfBlocks: 'true' KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature LambdaBodyIndentation: Signature
Language: Cpp Language: Cpp
MaxEmptyLinesToKeep: '1' MaxEmptyLinesToKeep: 1
NamespaceIndentation: All NamespaceIndentation: All
PointerAlignment: Left PointerAlignment: Left
PPIndentWidth: -1 # use IndentWidth PPIndentWidth: -1 # use IndentWidth
# TODO: PackConstructorInitializers: NextLine # TODO: PackConstructorInitializers: NextLine
# TODO: QualifierAlignment: Leave # TODO: QualifierAlignment: Leave
ReferenceAlignment: Left ReferenceAlignment: Left
ReflowComments: 'false' ReflowComments: false
# TODO: RemoveBracesLLVM: 'false' # TODO: RemoveBracesLLVM: false
# TODO: RequiresClausePosition: WithPreceding # TODO: RequiresClausePosition: WithPreceding
# TODO: SeparateDefinitionBlocks: Always # TODO: SeparateDefinitionBlocks: Always
ShortNamespaceLines: 0 ShortNamespaceLines: 0
SortIncludes: CaseInsensitive SortIncludes: CaseInsensitive
SortUsingDeclarations: 'true' SortUsingDeclarations: false
SpaceAfterCStyleCast: 'false' SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: 'false' SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: 'false' SpaceAfterTemplateKeyword: false
SpaceAroundPointerQualifiers: Default SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: 'true' SpaceBeforeAssignmentOperators: false
SpaceBeforeCaseColon: 'false' SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: 'true' SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: 'true' SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: 'true' SpaceBeforeInheritanceColon: false
SpaceBeforeParens: ControlStatements SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: 'true' SpaceBeforeRangeBasedForLoopColon: false
SpaceInEmptyBlock: 'false' SpaceInEmptyBlock: false
SpaceInEmptyParentheses: 'false' SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: '2' SpacesBeforeTrailingComments: 2
SpacesInAngles: Never SpacesInAngles: Never
SpacesInCStyleCastParentheses: 'false' SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: 'false' SpacesInConditionalStatement: false
SpacesInContainerLiterals: 'false' SpacesInContainerLiterals: false
SpacesInLineCommentPrefix: SpacesInLineCommentPrefix:
Minimum: '1' Minimum: 1
Maximum: '1' Maximum: 1
SpacesInParentheses: 'false' SpacesInParentheses: false
SpacesInSquareBrackets: 'false' SpacesInSquareBrackets: false
Standard: c++20 Standard: c++20
TabWidth: '4' TabWidth: 4
UseCRLF: 'false' UseCRLF: false
UseTab: Never UseTab: Never
... ...