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 427 of file IRModule.h.

Constructor & Destructor Documentation

◆ ErrorCapture()

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

Definition at line 428 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 437 of file IRModule.h.


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