Searched refs:PythonException (Results 1 – 5 of 5) sorted by relevance
65 return llvm::make_error<PythonException>(); in As()379 return llvm::make_error<PythonException>(); in FromUTF8()918 const char *PythonException::toCString() const { in toCString()924 PythonException::PythonException(const char *caller) { in PythonException() function in PythonException948 void PythonException::Restore() { in Restore()957 PythonException::~PythonException() { in ~PythonException()970 bool PythonException::Matches(PyObject *exc) const { in Matches()987 std::string PythonException::ReadBacktrace() const { in ReadBacktrace()1008 char PythonException::ID = 0;1120 return llvm::make_error<PythonException>(); in Create()[all …]
72 class PythonException; variable176 return llvm::make_error<PythonException>(s);629 class PythonException : public llvm::ErrorInfo<PythonException> {637 PythonException(const char *caller = nullptr);639 ~PythonException() override;671 expected.takeError(), [](PythonException &E) { E.Restore(); },
1003 [&](PythonException &E) { in ExecuteOneLineWithReturn()1126 llvm::handleErrors(return_value.takeError(), [&](PythonException &E) { in ExecuteMultipleLines()2204 [&](PythonException &E) { in BreakpointCallbackFunction()
784 foo(), llvm::Failed<PythonException>(testing::Property( in TEST_F()785 &PythonException::ReadBacktrace, in TEST_F()804 llvm::Failed<PythonException>(testing::Property( in TEST_F()805 &PythonException::ReadBacktrace, in TEST_F()
234 [&](PythonException &E) { error_string.append(E.ReadBacktrace()); },276 [&](PythonException &E) { error_string.append(E.ReadBacktrace()); },318 [&](PythonException &E) { error_string.append(E.ReadBacktrace()); },