Defined in File stmt.h
Represents a block in a program (e.g. the body of a loop). Essentially a wrapper around a vector of statements.
Block(Stmt *parent = nullptr)¶
Constructs a block with specified parent.
Adds the given statement to this block.
Resolves types on all contained statements.
Sequentially generates code for each statement in this block.
Sequentially clones each statement in this block.