Skip to content

Commit

Permalink
[ClavaWeaver] Re-adds AstFactory.emptyStmt(), which was removed by mi…
Browse files Browse the repository at this point in the history
…stake
  • Loading branch information
joaobispo committed Aug 8, 2024
1 parent a73c5cf commit 9b6de07
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -772,9 +772,14 @@ public static AGotoStmt gotoStmt(ALabelDecl label) {
}


public static AEmptyStmt emptyStmt() {
var stmt = CxxWeaver.getFactory().emptyStmt();
return CxxJoinpoints.create(stmt, AEmptyStmt.class);
}

public static AProgram program() {
var app = CxxWeaver.getFactory().app(Collections.emptyList());
return CxxJoinpoints.create(app, AProgram.class);
}

}

0 comments on commit 9b6de07

Please sign in to comment.