mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Switch some Expr transform/reduce logic to use IntrusivePtr
This commit is contained in:
parent
d88a899804
commit
b799665c1a
2 changed files with 27 additions and 27 deletions
|
@ -272,11 +272,7 @@ public:
|
|||
{ return false; }
|
||||
|
||||
// Returns the current expression transformed into "new_me".
|
||||
// Takes a bare pointer for "new_me" since often it's newly
|
||||
// allocated.
|
||||
ExprPtr TransformMe(Expr* new_me, Reducer* c, StmtPtr& red_stmt);
|
||||
ExprPtr TransformMe(ExprPtr new_me, Reducer* c, StmtPtr& red_stmt)
|
||||
{ return TransformMe(new_me.get(), c, red_stmt); }
|
||||
ExprPtr TransformMe(ExprPtr new_me, Reducer* c, StmtPtr& red_stmt);
|
||||
|
||||
// Returns a set of predecessor statements in red_stmt (which might
|
||||
// be nil if no reduction necessary), and the reduced version of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue