[clang] [clang-format] Add BinPackBinaryOperations configuration (PR #95013)

Ameer J via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 17 09:36:23 PDT 2024


ameerj wrote:

> It seems [AlignOperands](https://clang.llvm.org/docs/ClangFormatStyleOptions.html#alignoperands) is supposed to do what this new option would, so maybe we should fix/extend `AlignOperands` instead?

This new setting is only responsible for breaking long expressions, not aligning.
`AlignOperands` can be used in conjunction with this new setting for different alignment styles.

https://github.com/llvm/llvm-project/pull/95013


More information about the cfe-commits mailing list