A rule that specifies how to break a specific set of binary operators.
More...
#include "clang/Format/Format.h"
A rule that specifies how to break a specific set of binary operators.
- Version
- 23
Definition at line 2565 of file Format.h.
◆ operator!=()
◆ operator==()
◆ MinChainLength
| unsigned clang::format::FormatStyle::BinaryOperationBreakRule::MinChainLength |
Minimum number of operands in a chain before the rule triggers.
For example, a && b && c is a chain of length 3. 0 means always break (when the line is too long).
Definition at line 2574 of file Format.h.
◆ Operators
| std::vector<tok::TokenKind> clang::format::FormatStyle::BinaryOperationBreakRule::Operators |
The list of operators this rule applies to, e.g.
&&, ||, |. Alternative spellings (e.g. and for &&) are accepted.
Definition at line 2568 of file Format.h.
◆ Style
The break style for these operators (defaults to OnePerLine).
Definition at line 2570 of file Format.h.
The documentation for this struct was generated from the following file: