Skip to content

Commit

Permalink
Merge branch 'feature/clava-js' of github.com:specs-feup/clava into f…
Browse files Browse the repository at this point in the history
…eature/clava-js
  • Loading branch information
lm-sousa committed Aug 8, 2024
2 parents bf6af51 + 9b6de07 commit 76d0914
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 76d0914

Please sign in to comment.