[clang] [clang-format] add BinPackLongBracedLists style option (PR #112482)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 4 19:04:18 PST 2025


owenca wrote:

What about changing it to an option (e.g. `BinPackBracedListThreshold`) with a default value of about 20? If the number of elements in the list is more than the threshold, they will be bin packed even if `BinPackArguments` is set to false.

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


More information about the cfe-commits mailing list