diff --git a/src/visitors/visitor_utils.hpp b/src/visitors/visitor_utils.hpp index aa89d3b84..97d8fa0d3 100644 --- a/src/visitors/visitor_utils.hpp +++ b/src/visitors/visitor_utils.hpp @@ -82,11 +82,6 @@ std::shared_ptr create_statement_block( const std::vector& code_statements); -/// Remove statements from given statement block if they exist -void remove_statements_from_block(ast::StatementBlock& block, - const std::set& statements); - - /// Return set of strings with the names of all global variables std::set get_global_vars(const ast::Program& node);