From: Ralph Boehme Date: Fri, 30 Jun 2023 15:05:46 +0000 (+0200) Subject: clang-format: sort alphabetically X-Git-Tag: talloc-2.4.2~1158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f83d6c53cce2805f47ead0f2944fce294481e0d6;p=thirdparty%2Fsamba.git clang-format: sort alphabetically Signed-off-by: Ralph Boehme Reviewed-by: Andreas Schneider Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Tue Oct 24 14:47:57 UTC 2023 on atb-devel-224 --- diff --git a/.clang-format b/.clang-format index 6c7a021a44c..c4c12b9955b 100644 --- a/.clang-format +++ b/.clang-format @@ -1,9 +1,14 @@ # https://clang.llvm.org/docs/ClangFormatStyleOptions.html +AlignAfterOpenBracket: Align +AlignEscapedNewlines: Left +AllowAllArgumentsOnNextLine: true +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortFunctionsOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: false +AlwaysBreakAfterReturnType: None BasedOnStyle: LLVM -IndentWidth: 8 -ContinuationIndentWidth: 8 -UseTab: true -BreakBeforeBraces: Custom +BinPackArguments: false +BinPackParameters: false BraceWrapping: AfterEnum: false AfterFunction: true @@ -13,21 +18,16 @@ BraceWrapping: BeforeElse: false BeforeWhile: false AfterControlStatement: MultiLine -AllowShortIfStatementsOnASingleLine: false +BreakBeforeBinaryOperators: None +BreakBeforeBraces: Custom ColumnLimit: 80 +ContinuationIndentWidth: 8 IndentCaseLabels: false -AlignAfterOpenBracket: Align -BinPackParameters: false -BinPackArguments: false -AllowAllParametersOfDeclarationOnNextLine: false -AllowAllArgumentsOnNextLine: true -AllowShortFunctionsOnASingleLine: Empty -AlwaysBreakAfterReturnType: None -AlignEscapedNewlines: Left -SortIncludes: false IndentGotoLabels: false -WhitespaceSensitiveMacros: ['DEBUG'] -PenaltyReturnTypeOnItsOwnLine: 1000 +IndentWidth: 8 PenaltyBreakAssignment: 200 PenaltyBreakBeforeFirstCallParameter: 100 -BreakBeforeBinaryOperators: None +PenaltyReturnTypeOnItsOwnLine: 1000 +SortIncludes: false +UseTab: true +WhitespaceSensitiveMacros: ['DEBUG']