[clang] [clang-format] add BinPackLongBracedLists style option (PR #112482)
Gedare Bloom via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 14 14:46:24 PST 2024
================
@@ -1208,6 +1208,21 @@ struct FormatStyle {
/// \version 3.7
bool BinPackArguments;
+ /// If ``BinPackArguments`` is ``false`` this option can override it if
+ /// ``true`` when 20 or more items are in a braced initializer list.
----------------
gedare wrote:
I rewrote it similar to your suggestion.
https://github.com/llvm/llvm-project/pull/112482
More information about the cfe-commits
mailing list