|
MLIR 24.0.0git
|
RAII scope guard that calls beginTransientScope() on construction and endTransientScope() on destruction. More...
#include "mlir/IR/MLIRContext.h"
Public Member Functions | |
| TransientScope (MLIRContext &ctx) | |
| ~TransientScope () | |
| TransientScope (const TransientScope &)=delete | |
| TransientScope & | operator= (const TransientScope &)=delete |
RAII scope guard that calls beginTransientScope() on construction and endTransientScope() on destruction.
Provides exception-safe and forgetting-proof transient scope management.
Definition at line 177 of file MLIRContext.h.
|
inlineexplicit |
Definition at line 179 of file MLIRContext.h.
References mlir::MLIRContext::MLIRContext().
Referenced by operator=(), and TransientScope().
|
inline |
Definition at line 182 of file MLIRContext.h.
|
delete |
References TransientScope().
|
delete |
References mlir::MLIRContext::MLIRContext(), and TransientScope().