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

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 21:07:24 PDT 2024


owenca wrote:

> There will be bugs if/when people use this option with small values for the limit, as it will interact weirdly with both the braced list initializer formatting rules, and also with the `AvoidBinPacking` logic of the continuation indenter.

Can you give some examples?



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


More information about the cfe-commits mailing list