Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DErrorOr.h79 new (getErrorStorage()) std::error_code(make_error_code(ErrorCode)); in HasError()
83 new (getErrorStorage()) std::error_code(EC); in ErrorOr()
154 return HasError ? *getErrorStorage() : std::error_code(); in getError()
179 new (getErrorStorage()) std::error_code(Other.getError()); in copyConstruct()
211 new (getErrorStorage()) std::error_code(Other.getError()); in moveConstruct()
246 std::error_code *getErrorStorage() { in getErrorStorage() function
251 const std::error_code *getErrorStorage() const { in getErrorStorage() function
252 return const_cast<ErrorOr<T> *>(this)->getErrorStorage(); in getErrorStorage()
H A DError.h469 new (getErrorStorage()) error_type(Err.takePayload()); in Expected()
525 getErrorStorage()->~error_type(); in ~Expected()
550 return HasError && (*getErrorStorage())->template isA<ErrT>(); in errorIsA()
561 return HasError ? Error(std::move(*getErrorStorage())) : Error::success(); in takeError()
609 new (getErrorStorage()) error_type(std::move(*Other.getErrorStorage())); in moveConstruct()
640 error_type *getErrorStorage() { in getErrorStorage() function
645 const error_type *getErrorStorage() const { in getErrorStorage() function
664 (*getErrorStorage())->log(dbgs()); in fatalUncheckedExpected()