Skip to content

Commit

Permalink
Fix last fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-penev committed Apr 1, 2024
1 parent 15c9af3 commit f7ca9f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Differentiator/StmtClone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Stmt* StmtClone::Visit ## CLASS(CLASS *Node) \
}

#define DEFINE_CLONE_EXPR_CO(CLASS, CTORARGS) \
Stmt* StmtClone::Visit##CLASS((CLASS)* Node) { \
(CLASS)* result = (CLASS::Create CTORARGS); \
Stmt* StmtClone::Visit##CLASS(CLASS* Node) { \
CLASS* result = (CLASS::Create CTORARGS); \
clad_compat::ExprSetDeps(result, Node); \
return result; \
}
Expand Down

0 comments on commit f7ca9f1

Please sign in to comment.