Skip to content

Commit

Permalink
Add common/AST.C
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent 1dfa972 commit c63a77d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/src/AST.C
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ AST::Ptr AST::accept(ASTVisitor *v) {
return v->visit(this);
}

// AST cycle detector.

void AST::hasCycle(AST::Ptr in,std::map<AST::Ptr, int> &visited) {
if(!in)
return;
Expand Down

0 comments on commit c63a77d

Please sign in to comment.