[clang] [clang-format] Add per-operator granularity for BreakBinaryOperations (PR #181051)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 17 11:31:34 PST 2026
================
@@ -2450,9 +2451,85 @@ struct FormatStyle {
BBO_RespectPrecedence
};
+ /// A rule that specifies how to break a specific set of binary operators.
+ /// \version 23
+ struct BinaryOperationBreakRule {
+ /// The list of operator token kinds this rule applies to.
----------------
HazardyKnusperkeks wrote:
You need to differentiate between user (of `.clang-format`) facing documentation and developer facing documentation.
https://github.com/llvm/llvm-project/pull/181051
More information about the cfe-commits
mailing list