[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
================
@@ -1203,6 +1214,10 @@ unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State,
}
}
+ if (!Style.BinPackBinaryOperations && Previous.is(TT_BinaryOperator) &&
----------------
HazardyKnusperkeks wrote:
Couldn't you just call `startsNextOperand`?
https://github.com/llvm/llvm-project/pull/95013
More information about the cfe-commits
mailing list