Searched refs:getErrorStorage (Results 1 – 4 of 4) sorted by relevance
89 new (getErrorStorage()) std::error_code(make_error_code(ErrorCode)); in HasError()93 new (getErrorStorage()) std::error_code(EC); in ErrorOr()170 return HasError ? *getErrorStorage() : std::error_code(); in getError()195 new (getErrorStorage()) std::error_code(Other.getError()); in copyConstruct()227 new (getErrorStorage()) std::error_code(Other.getError()); in moveConstruct()262 std::error_code *getErrorStorage() { in getErrorStorage() function267 const std::error_code *getErrorStorage() const { in getErrorStorage() function268 return const_cast<ErrorOr<T> *>(this)->getErrorStorage(); in getErrorStorage()
658 new (getErrorStorage()) error_type(Err.takePayload()); in Expected()715 getErrorStorage()->~error_type(); in ~Expected()740 return HasError && getErrorStorage()->template isA<ErrT>(); in errorIsA()751 return HasError ? Error(std::move(*getErrorStorage())) : Error::success(); in takeError()799 new (getErrorStorage()) error_type(std::move(*Other.getErrorStorage())); in moveConstruct()830 error_type *getErrorStorage() { in getErrorStorage() function841 (*getErrorStorage())->log(dbgs()); in assertIsChecked()
627 new (getErrorStorage()) Error(std::move(Err)); in Expected()679 getErrorStorage()->~error_type(); in ~Expected()704 return HasError && getErrorStorage()->template isA<ErrT>(); in errorIsA()715 return HasError ? Error(std::move(*getErrorStorage())) : Error::success(); in takeError()764 new (getErrorStorage()) error_type(std::move(*Other.getErrorStorage())); in moveConstruct()795 error_type *getErrorStorage() { in getErrorStorage() function806 (*getErrorStorage())->log(dbgs()); in assertIsChecked()