[misc] Update .clang-format style

This commit is contained in:
Kuba Szczodrzyński
2025-05-28 15:50:18 +02:00
parent 3054db9d9b
commit 6bf549b104
12 changed files with 262 additions and 262 deletions

View File

@@ -1,10 +1,11 @@
# 2024-07-30 # 2025-02-12
Language: Cpp Language: Cpp
BasedOnStyle: LLVM BasedOnStyle: LLVM
AlignAfterOpenBracket: BlockIndent AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: Left AlignArrayOfStructures: Left
AlignConsecutiveAssignments: true AlignConsecutiveAssignments: true
AlignConsecutiveMacros: AcrossComments AlignConsecutiveMacros: AcrossComments
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false
@@ -24,7 +25,6 @@ IndentWidth: 4
LambdaBodyIndentation: Signature LambdaBodyIndentation: Signature
MaxEmptyLinesToKeep: 1 MaxEmptyLinesToKeep: 1
PenaltyReturnTypeOnItsOwnLine: 1000 PenaltyReturnTypeOnItsOwnLine: 1000
# PointerAlignment: Left # TODO enable this and reformat project
QualifierAlignment: Left QualifierAlignment: Left
ReflowComments: true ReflowComments: true
SeparateDefinitionBlocks: Always SeparateDefinitionBlocks: Always