[clang] [clang-format] Add per-operator granularity for BreakBinaryOperations (PR #181051)

Sergey Subbotin via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 17 01:15:03 PST 2026


================
@@ -28394,7 +28396,7 @@ TEST_F(FormatTest, BreakBinaryOperations) {
                "    longOperand_3_;",
                Style);
 
-  Style.BreakBinaryOperations = FormatStyle::BBO_OnePerLine;
+  Style.BreakBinaryOperations = {FormatStyle::BBO_OnePerLine, {}};
----------------
ssubbotin wrote:

Done in commit bfaa0d6 — changed all brace-init assignments to member assignment.

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


More information about the cfe-commits mailing list