LLVM  8.0.1
Public Types | Static Public Member Functions | List of all members
llvm::orc::rpc::detail::ResultTraits< RetT > Class Template Reference

#include "llvm/ExecutionEngine/Orc/RPCUtils.h"

Inheritance diagram for llvm::orc::rpc::detail::ResultTraits< RetT >:
Inheritance graph
[legend]

Public Types

using ErrorReturnType = Expected< RetT >
 
using ReturnPromiseType = std::promise< ErrorReturnType >
 
using ReturnFutureType = std::future< ErrorReturnType >
 

Static Public Member Functions

static ErrorReturnType createBlankErrorReturnValue ()
 
static void consumeAbandoned (ErrorReturnType RetOrErr)
 

Detailed Description

template<typename RetT>
class llvm::orc::rpc::detail::ResultTraits< RetT >

Definition at line 223 of file RPCUtils.h.

Member Typedef Documentation

◆ ErrorReturnType

template<typename RetT >
using llvm::orc::rpc::detail::ResultTraits< RetT >::ErrorReturnType = Expected<RetT>

Definition at line 226 of file RPCUtils.h.

◆ ReturnFutureType

template<typename RetT >
using llvm::orc::rpc::detail::ResultTraits< RetT >::ReturnFutureType = std::future<ErrorReturnType>

Definition at line 239 of file RPCUtils.h.

◆ ReturnPromiseType

template<typename RetT >
using llvm::orc::rpc::detail::ResultTraits< RetT >::ReturnPromiseType = std::promise<ErrorReturnType>

Definition at line 236 of file RPCUtils.h.

Member Function Documentation

◆ consumeAbandoned()

template<typename RetT >
static void llvm::orc::rpc::detail::ResultTraits< RetT >::consumeAbandoned ( ErrorReturnType  RetOrErr)
inlinestatic

Definition at line 249 of file RPCUtils.h.

References llvm::consumeError(), and llvm::Expected< T >::takeError().

◆ createBlankErrorReturnValue()

template<typename RetT >
static ErrorReturnType llvm::orc::rpc::detail::ResultTraits< RetT >::createBlankErrorReturnValue ( )
inlinestatic

The documentation for this class was generated from the following file: