跳转至

BinPackParameters

BinPackParameters (Boolean)

Info

clang-format 3.7

如果为 false,函数声明或函数定义的形参要么都在同一行,要么各有一行。

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

最后更新: 2022-10-31