summaryrefslogtreecommitdiffstats
path: root/staptree.h
diff options
context:
space:
mode:
Diffstat (limited to 'staptree.h')
-rw-r--r--staptree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/staptree.h b/staptree.h
index fecd6aaf..cde87372 100644
--- a/staptree.h
+++ b/staptree.h
@@ -676,6 +676,8 @@ struct traversing_visitor: public visitor
struct functioncall_traversing_visitor: public traversing_visitor
{
std::set<functiondecl*> traversed;
+ functiondecl* current_function;
+ functioncall_traversing_visitor(): current_function(0) {}
void visit_functioncall (functioncall* e);
};
@@ -696,12 +698,14 @@ struct varuse_collecting_visitor: public functioncall_traversing_visitor
current_lvalue(0),
current_lrvalue(0) {}
void visit_embeddedcode (embeddedcode *s);
+ void visit_delete_statement (delete_statement *s);
void visit_print_format (print_format *e);
void visit_assignment (assignment *e);
void visit_arrayindex (arrayindex *e);
void visit_symbol (symbol *e);
void visit_pre_crement (pre_crement *e);
void visit_post_crement (post_crement *e);
+ void visit_foreach_loop (foreach_loop *s);
};