[clang] [clang-format] Add BinPackBinaryOperations configuration (PR #95013)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 10 11:41:26 PDT 2024


================
@@ -146,6 +146,14 @@ static bool startsNextParameter(const FormatToken &Current,
            Style.BreakInheritanceList != FormatStyle::BILS_BeforeComma));
 }
 
+// Returns \c true if \c Current starts a new operand in a binary operation.
+static bool startsNextOperand(const FormatToken &Current,
+                              const FormatStyle &Style) {
----------------
HazardyKnusperkeks wrote:

You don't use Style

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


More information about the cfe-commits mailing list