[clang] [clang-format] Change BinPackParameters to an enum to add a BreakAlways (PR #101882)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 17 01:14:16 PDT 2024
================
@@ -5475,6 +5475,14 @@ bool TokenAnnotator::mustBreakBefore(const AnnotatedLine &Line,
return true;
}
+ // Ignores the first parameter as this will be handled separately by
+ // BreakFunctionDefinitionParameters or AlignAfterOpenBracket.
+ if (FormatStyle::BPPS_OnePerLine == Style.BinPackParameters &&
----------------
owenca wrote:
```suggestion
if (Style.BinPackParameters == FormatStyle::BPPS_Never &&
```
https://github.com/llvm/llvm-project/pull/101882
More information about the cfe-commits
mailing list