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

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrorOr.h79 new (getErrorStorage()) std::error_code(make_error_code(ErrorCode));
83 new (getErrorStorage()) std::error_code(EC);
160 return HasError ? *getErrorStorage() : std::error_code();
185 new (getErrorStorage()) std::error_code(Other.getError());
217 new (getErrorStorage()) std::error_code(Other.getError());
252 std::error_code *getErrorStorage() { function in class:llvm::ErrorOr
257 const std::error_code *getErrorStorage() const { function in class:llvm::ErrorOr
258 return const_cast<ErrorOr<T> *>(this)->getErrorStorage();
H A DError.h463 new (getErrorStorage()) error_type(Err.takePayload());
520 getErrorStorage()->~error_type();
545 return HasError && (*getErrorStorage())->template isA<ErrT>();
556 return HasError ? Error(std::move(*getErrorStorage())) : Error::success();
604 new (getErrorStorage()) error_type(std::move(*Other.getErrorStorage()));
635 error_type *getErrorStorage() { function in class:llvm::Expected
640 const error_type *getErrorStorage() const { function in class:llvm::Expected
659 (*getErrorStorage())->log(dbgs());

Completed in 58 milliseconds