| 292 | //----------------------------------------------------------------------------- |
| 293 | |
| 294 | IfStmt* If(const Expr* condition, ArrayRef<Stmt*> bodyStmts) |
| 295 | { |
| 296 | return IfStmt::Create(GetGlobalAST(), |
| 297 | {}, |
| 298 | IfStatementKind::Ordinary, |
| 299 | nullptr, |
| 300 | nullptr, |
| 301 | const_cast<Expr*>(condition), |
| 302 | {}, |
| 303 | {}, |
| 304 | mkCompoundStmt(bodyStmts), |
| 305 | {}, |
| 306 | /*else*/ nullptr); |
| 307 | } |
| 308 | //----------------------------------------------------------------------------- |
| 309 | |
| 310 | IntegerLiteral* Int32(uint64_t value) |
no test coverage detected