MLIR  19.0.0git
Public Member Functions | List of all members
mlir::python::PyMlirContext::ErrorCapture Struct Reference

RAII object that captures any error diagnostics emitted to the provided context. More...

#include "Bindings/Python/IRModule.h"

Public Member Functions

 ErrorCapture (PyMlirContextRef ctx)
 
 ~ErrorCapture ()
 
std::vector< PyDiagnostic::DiagnosticInfotake ()
 

Detailed Description

RAII object that captures any error diagnostics emitted to the provided context.

Definition at line 419 of file IRModule.h.

Constructor & Destructor Documentation

◆ ErrorCapture()

mlir::python::PyMlirContext::ErrorCapture::ErrorCapture ( PyMlirContextRef  ctx)
inline

Definition at line 420 of file IRModule.h.

◆ ~ErrorCapture()

mlir::python::PyMlirContext::ErrorCapture::~ErrorCapture ( )
inline

Member Function Documentation

◆ take()

std::vector<PyDiagnostic::DiagnosticInfo> mlir::python::PyMlirContext::ErrorCapture::take ( )
inline

Definition at line 429 of file IRModule.h.


The documentation for this struct was generated from the following files: