clang-format: always break if params don’t fit?

In newer version of clang-format, this can now be achieved with:

AlignAfterOpenBracket: AlwaysBreak
BinPackArguments: false
BinPackParameters: false

See https://clang.llvm.org/docs/ClangFormatStyleOptions.html for a full explanation of these options.

Leave a Comment