跳转至

BinPackArguments

BinPackArguments (Boolean)

Info

clang-format 3.7

如果为 false,函数调用的参数要么都在同一行,要么各一行。

void f() {
f(aaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaa,
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
}
void f() {
f(aaaaaaaaaaaaaaaaaaaa,
    aaaaaaaaaaaaaaaaaaaa,
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
}

最后更新: 2022-10-31