RAII guard to reset the insertion point of the builder when destroyed.
More...
#include "mlir/IR/Builders.h"
RAII guard to reset the insertion point of the builder when destroyed.
Definition at line 279 of file Builders.h.
◆ InsertionGuard() [1/3]
mlir::OpBuilder::InsertionGuard::InsertionGuard |
( |
OpBuilder & |
builder | ) |
|
|
inline |
◆ ~InsertionGuard()
mlir::OpBuilder::InsertionGuard::~InsertionGuard |
( |
| ) |
|
|
inline |
◆ InsertionGuard() [2/3]
mlir::OpBuilder::InsertionGuard::InsertionGuard |
( |
const InsertionGuard & |
| ) |
|
|
delete |
◆ InsertionGuard() [3/3]
mlir::OpBuilder::InsertionGuard::InsertionGuard |
( |
InsertionGuard && |
other | ) |
|
|
inlinenoexcept |
Implement the move constructor to clear the builder field of other
.
That way it does not restore the insertion point upon destruction as that should be done exclusively by the just constructed InsertionGuard.
Definition at line 295 of file Builders.h.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: