mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
clang-format: Set penalty for breaking after assignment operator
This commit is contained in:
parent
4423574d26
commit
9af6b2f48d
54 changed files with 255 additions and 247 deletions
|
@ -244,8 +244,8 @@ string CPPCompile::GenIncrExpr(const Expr* e, GenType gt, bool is_incr, bool top
|
|||
// twice, so easiest is to just transform this node
|
||||
// into the expanded equivalent.
|
||||
auto op = e->GetOp1();
|
||||
auto one =
|
||||
e->GetType()->InternalType() == TYPE_INTERNAL_INT ? val_mgr->Int(1) : val_mgr->Count(1);
|
||||
auto one = e->GetType()->InternalType() == TYPE_INTERNAL_INT ? val_mgr->Int(1)
|
||||
: val_mgr->Count(1);
|
||||
auto one_e = make_intrusive<ConstExpr>(one);
|
||||
|
||||
ExprPtr rhs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue