Searched refs:PyDiagnostic (Results 1 – 2 of 2) sorted by relevance
539 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 …]
29 class PyDiagnostic; variable288 class PyDiagnostic {290 PyDiagnostic(MlirDiagnostic diagnostic) : diagnostic(diagnostic) {} in PyDiagnostic() function