[clang] [clang-format] Add MaxParametersOnLine formatting option (PR #181281)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 16 07:37:22 PST 2026
EtienneBasilik wrote:
1. My personal preference is to either have all parameters on a single line or every parameter on a separate line. Having multiple lines with >1 param each is not something I would use. Indeed, the initial problem where it is visually difficult to see the separation between parameters is not solved with a solution where each line has 2+ parameters...
2. Yes, one of the most useful places for this option is for function calls.
https://github.com/llvm/llvm-project/pull/181281
More information about the cfe-commits
mailing list