Searched refs:PythonException (Results 1 – 5 of 5) sorted by relevance
64 return llvm::make_error<PythonException>(); in As()378 return llvm::make_error<PythonException>(); in FromUTF8()1015 const char *PythonException::toCString() const { in toCString()1021 PythonException::PythonException(const char *caller) { in PythonException() function in PythonException1045 void PythonException::Restore() { in Restore()1054 PythonException::~PythonException() { in ~PythonException()1061 void PythonException::log(llvm::raw_ostream &OS) const { OS << toCString(); } in log()1063 std::error_code PythonException::convertToErrorCode() const { in convertToErrorCode()1067 bool PythonException::Matches(PyObject *exc) const { in Matches()1084 std::string PythonException::ReadBacktrace() const { in ReadBacktrace()[all …]
72 class PythonException; variable188 return llvm::make_error<PythonException>(s);658 class PythonException : public llvm::ErrorInfo<PythonException> {666 PythonException(const char *caller = nullptr);668 ~PythonException();700 expected.takeError(), [](PythonException &E) { E.Restore(); },
1074 [&](PythonException &E) { in ExecuteOneLineWithReturn()1186 llvm::handleErrors(return_value.takeError(), [&](PythonException &E) { in ExecuteMultipleLines()2311 [&](PythonException &E) { in BreakpointCallbackFunction()
812 foo(), llvm::Failed<PythonException>(testing::Property( in TEST_F()813 &PythonException::ReadBacktrace, in TEST_F()832 llvm::Failed<PythonException>(testing::Property( in TEST_F()833 &PythonException::ReadBacktrace, in TEST_F()
298 [&](PythonException &E) {