Home
last modified time | relevance | path

Searched refs:PyDiagnostic (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRCore.cpp539 PyDiagnostic *pyDiagnostic = new PyDiagnostic(diagnostic); in attachDiagnosticHandler()
726 void PyDiagnostic::invalidate() { in invalidate()
730 PyDiagnostic *note = py::cast<PyDiagnostic *>(noteObject); in invalidate()
753 void PyDiagnostic::checkValid() { in checkValid()
760 MlirDiagnosticSeverity PyDiagnostic::getSeverity() { in getSeverity()
765 PyLocation PyDiagnostic::getLocation() { in getLocation()
772 py::str PyDiagnostic::getMessage() { in getMessage()
780 py::tuple PyDiagnostic::getNotes() { in getNotes()
788 materializedNotes.value()[i] = PyDiagnostic(noteDiag); in getNotes()
2214 .def_property_readonly("notes", &PyDiagnostic::getNotes) in populateIRCore()
[all …]
H A DIRModule.h29 class PyDiagnostic; variable
288 class PyDiagnostic {
290 PyDiagnostic(MlirDiagnostic diagnostic) : diagnostic(diagnostic) {} in PyDiagnostic() function