change clang format

This commit is contained in:
ohyzha
2024-08-13 10:54:09 +03:00
parent 1f418fa673
commit ab669c73dd

View File

@@ -4,10 +4,10 @@ AccessModifierOffset: "-4"
AlignAfterOpenBracket: Align AlignAfterOpenBracket: Align
AlignEscapedNewlines: Left AlignEscapedNewlines: Left
AlignOperands: true AlignOperands: true
AllowShortBlocksOnASingleLine: Always AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true AllowShortCaseLabelsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: AllIfsAndElse AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: true AllowShortLoopsOnASingleLine: false
BreakBeforeBinaryOperators: NonAssignment BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: false BreakBeforeTernaryOperators: false
@@ -23,6 +23,7 @@ IndentCaseLabels: true
IndentPPDirectives: BeforeHash IndentPPDirectives: BeforeHash
IndentWidth: "4" IndentWidth: "4"
IndentWrappedFunctionNames: true IndentWrappedFunctionNames: true
InsertBraces: true
KeepEmptyLinesAtEOF: true KeepEmptyLinesAtEOF: true
KeepEmptyLinesAtTheStartOfBlocks: false KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: "2" MaxEmptyLinesToKeep: "2"