Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DErrorOr.h89 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() function
267 const std::error_code *getErrorStorage() const { in getErrorStorage() function
268 return const_cast<ErrorOr<T> *>(this)->getErrorStorage(); in getErrorStorage()
DError.h658 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() function
841 (*getErrorStorage())->log(dbgs()); in assertIsChecked()
/external/llvm/include/llvm/Support/
DErrorOr.h89 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() function
267 const std::error_code *getErrorStorage() const { in getErrorStorage() function
268 return const_cast<ErrorOr<T> *>(this)->getErrorStorage(); in getErrorStorage()
DError.h627 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() function
806 (*getErrorStorage())->log(dbgs()); in assertIsChecked()