]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
chore: Update `.clang-format` to use `BinPackArguments=true` (#15744)
authorOliver Simons <redacted>
Tue, 2 Sep 2025 17:40:37 +0000 (19:40 +0200)
committerGitHub <redacted>
Tue, 2 Sep 2025 17:40:37 +0000 (01:40 +0800)
This seems to correspond with what we want to do, see
[here](https://github.com/ggml-org/llama.cpp/pull/15715#discussion_r2315613796)
and [clang-format docs](https://clang.llvm.org/docs/ClangFormatStyleOptions.html#binpackarguments)

.clang-format

index 47d96b6b409834a427e6a5e06d40e80265ca3757..117e6986f6f8cabdfa54bb61ff00818665028044 100644 (file)
@@ -22,7 +22,7 @@ AllowShortIfStatementsOnASingleLine: Never
 AllowShortLambdasOnASingleLine: Inline
 AllowShortLoopsOnASingleLine: false
 AlwaysBreakBeforeMultilineStrings: true
-BinPackArguments: false
+BinPackArguments: true
 BinPackParameters: false # OnePerLine
 BitFieldColonSpacing: Both
 BreakBeforeBraces: Custom # Attach