浏览代码

chore: Update `.clang-format` to use `BinPackArguments=true` (#15744)

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)
Oliver Simons 4 月之前
父节点
当前提交
69db8a52e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .clang-format

+ 1 - 1
.clang-format

@@ -22,7 +22,7 @@ AllowShortIfStatementsOnASingleLine: Never
 AllowShortLambdasOnASingleLine: Inline
 AllowShortLambdasOnASingleLine: Inline
 AllowShortLoopsOnASingleLine: false
 AllowShortLoopsOnASingleLine: false
 AlwaysBreakBeforeMultilineStrings: true
 AlwaysBreakBeforeMultilineStrings: true
-BinPackArguments: false
+BinPackArguments: true
 BinPackParameters: false # OnePerLine
 BinPackParameters: false # OnePerLine
 BitFieldColonSpacing: Both
 BitFieldColonSpacing: Both
 BreakBeforeBraces: Custom # Attach
 BreakBeforeBraces: Custom # Attach