Home
last modified time | relevance | path

Searched refs:getErrorStorage (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DErrorOr.h80 new (getErrorStorage()) std::error_code(make_error_code(ErrorCode)); in HasError()
84 new (getErrorStorage()) std::error_code(EC); in ErrorOr()
161 return HasError ? *getErrorStorage() : std::error_code(); in getError()
186 new (getErrorStorage()) std::error_code(Other.getError()); in copyConstruct()
218 new (getErrorStorage()) std::error_code(Other.getError()); in moveConstruct()
253 std::error_code *getErrorStorage() { in getErrorStorage() function
258 const std::error_code *getErrorStorage() const { in getErrorStorage() function
259 return const_cast<ErrorOr<T> *>(this)->getErrorStorage(); in getErrorStorage()
H A DError.h464 new (getErrorStorage()) error_type(Err.takePayload()); in Expected()
521 getErrorStorage()->~error_type(); in ~Expected()
546 return HasError && (*getErrorStorage())->template isA<ErrT>(); in errorIsA()
557 return HasError ? Error(std::move(*getErrorStorage())) : Error::success(); in takeError()
605 new (getErrorStorage()) error_type(std::move(*Other.getErrorStorage())); in moveConstruct()
636 error_type *getErrorStorage() { in getErrorStorage() function
641 const error_type *getErrorStorage() const { in getErrorStorage() function
660 (*getErrorStorage())->log(dbgs()); in fatalUncheckedExpected()