LLVM 20.0.0git
|
Provide a CastInfo specialized for std::unique_ptr. More...
#include "llvm/Support/Casting.h"
Additional Inherited Members | |
Public Types inherited from llvm::UniquePtrCast< To, From, Derived > | |
using | Self = detail::SelfType< Derived, UniquePtrCast< To, From > > |
using | CastResultType = std::unique_ptr< std::remove_reference_t< typename cast_retty< To, From >::ret_type > > |
Static Public Member Functions inherited from llvm::UniquePtrCast< To, From, Derived > | |
static CastResultType | doCast (std::unique_ptr< From > &&f) |
static CastResultType | castFailed () |
static CastResultType | doCastIfPossible (std::unique_ptr< From > &f) |
Static Public Member Functions inherited from llvm::CastIsPossible< To, From * > | |
static bool | isPossible (const From * &f) |
Provide a CastInfo specialized for std::unique_ptr.