Searched refs:PythonException (Results 1 – 5 of 5) sorted by relevance
65 return llvm::make_error<PythonException>(); in As()388 return llvm::make_error<PythonException>(); in FromUTF8()956 const char *PythonException::toCString() const { in toCString()962 PythonException::PythonException(const char *caller) { in PythonException() function in PythonException986 void PythonException::Restore() { in Restore()995 PythonException::~PythonException() { in ~PythonException()1008 bool PythonException::Matches(PyObject *exc) const { in Matches()1025 std::string PythonException::ReadBacktrace() const { in ReadBacktrace()1046 char PythonException::ID = 0;1158 return llvm::make_error<PythonException>(); in Create()[all …]
72 class PythonException; variable176 return llvm::make_error<PythonException>(s);657 class PythonException : public llvm::ErrorInfo<PythonException> {665 PythonException(const char *caller = nullptr);667 ~PythonException() override;699 expected.takeError(), [](PythonException &E) { E.Restore(); },
1016 [&](PythonException &E) { in ExecuteOneLineWithReturn()1139 llvm::handleErrors(return_value.takeError(), [&](PythonException &E) { in ExecuteMultipleLines()2057 [&](PythonException &E) { in BreakpointCallbackFunction()
129 [&](PythonException &E) { error_string.append(E.ReadBacktrace()); }, in CreatePluginObject()
259 [&](PythonException &E) { error_string.append(E.ReadBacktrace()); },