[clang] [clang-format] Add per-operator granularity for BreakBinaryOperations (PR #181051)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 16 11:48:31 PST 2026
================
@@ -28394,7 +28396,7 @@ TEST_F(FormatTest, BreakBinaryOperations) {
" longOperand_3_;",
Style);
- Style.BreakBinaryOperations = FormatStyle::BBO_OnePerLine;
+ Style.BreakBinaryOperations = {FormatStyle::BBO_OnePerLine, {}};
----------------
HazardyKnusperkeks wrote:
Just modify the `Default` member.
https://github.com/llvm/llvm-project/pull/181051
More information about the cfe-commits
mailing list