LLVM: llvm::CastInfo< To, From, std::enable_if_t<!is_simple_type< From >::value > (original) (raw)

This struct provides an overload for CastInfo where From has simplify_type defined. More...

#include "[llvm/Support/Casting.h](Casting%5F8h%5Fsource.html)"

Static Public Member Functions
static bool isPossible (From &f)
static decltype(auto) doCast (From &f)
static decltype(auto) castFailed ()
static decltype(auto) doCastIfPossible (From &f)
Static Public Member Functions inherited from llvm::CastIsPossible< To, From, Enable >
static bool isPossible (const From &f)

template<typename To, typename From>
struct llvm::CastInfo< To, From, std::enable_if_t<!is_simple_type< From >::value > >

This struct provides an overload for CastInfo where From has simplify_type defined.

This simply forwards to the appropriate CastInfo with the simplified type/value, so you don't have to implement both.

Definition at line 503 of file Casting.h.

CastReturnType

Self

template<typename To, typename From>

SimpleFrom

template<typename To, typename From>

SimplifiedSelf

template<typename To, typename From>

castFailed()

template<typename To, typename From>

doCast()

template<typename To, typename From>

doCastIfPossible()

template<typename To, typename From>

isPossible()

template<typename To, typename From>


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