Skip to content

Commit

Permalink
[skip ci] enforce code format
Browse files Browse the repository at this point in the history
  • Loading branch information
taichi-gardener committed May 29, 2021
1 parent 0646d7f commit 21a932b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions taichi/ir/ir_builder.h
Expand Up @@ -92,8 +92,7 @@ class IRBuilder {
template <typename XStmt>
[[nodiscard]] LoopGuard get_loop_guard(XStmt *loop) {
return LoopGuard(*this, loop);
}
[[nodiscard]] IfGuard get_if_guard(IfStmt *if_stmt, bool true_branch) {
}[[nodiscard]] IfGuard get_if_guard(IfStmt *if_stmt, bool true_branch) {
return IfGuard(*this, if_stmt, true_branch);
}

Expand Down Expand Up @@ -192,7 +191,7 @@ class IRBuilder {

// Print values and strings. Arguments can be Stmt* or std::string.
template <typename... Args>
PrintStmt *create_print(Args &&...args) {
PrintStmt *create_print(Args &&... args) {
return insert(Stmt::make_typed<PrintStmt>(std::forward<Args>(args)...));
}

Expand Down

0 comments on commit 21a932b

Please sign in to comment.