Enable clang format again and disable AllowShortFuctionOnASinlgeLine

This commit is contained in:
Stefan Müller 2024-12-23 18:27:11 +01:00
parent 896d41c561
commit f644f6bd42
1 changed files with 1 additions and 2 deletions

View File

@ -1,12 +1,11 @@
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html # https://clang.llvm.org/docs/ClangFormatStyleOptions.html
DisableFormat: true
Language: Cpp Language: Cpp
BasedOnStyle: LLVM BasedOnStyle: LLVM
AccessModifierOffset: -4 AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign AlignAfterOpenBracket: DontAlign
AllowAllArgumentsOnNextLine: false AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: Empty AllowShortFunctionsOnASingleLine: false
BreakBeforeBraces: Allman BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true BreakBeforeTernaryOperators: true
BreakInheritanceList: BeforeColon BreakInheritanceList: BeforeColon