mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Switch some Stmt transform/reduce logic to use IntrusivePtr
This commit is contained in:
parent
b799665c1a
commit
177b723a60
2 changed files with 18 additions and 19 deletions
|
@ -156,9 +156,8 @@ protected:
|
|||
explicit Stmt(StmtTag arg_tag);
|
||||
|
||||
// Helper function called after reductions to perform canonical
|
||||
// actions. Takes a bare pointer for new_me because usually
|
||||
// it's been newly new'd, so this keeps down code clutter.
|
||||
StmtPtr TransformMe(Stmt* new_me, Reducer* c);
|
||||
// actions.
|
||||
StmtPtr TransformMe(StmtPtr new_me, Reducer* c);
|
||||
|
||||
void AddTag(ODesc* d) const;
|
||||
virtual void StmtDescribe(ODesc* d) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue