LLVM 23.0.0git
llvm::CastInfo< To, PointerUnion< PTs... > > Struct Template Reference

#include "llvm/ADT/PointerUnion.h"

Inheritance diagram for llvm::CastInfo< To, PointerUnion< PTs... > >:
[legend]

Public Types

using From = PointerUnion<PTs...>
using Self
using CastReturnType

Static Public Member Functions

static bool isPossible (From &f)
static To doCast (From &f)
static To castFailed ()
static CastReturnType doCastIfPossible (const PointerUnion< PTs... > &f)
Static Public Member Functions inherited from llvm::CastIsPossible< To, From, Enable >
static bool isPossible (const From &f)
Static Public Member Functions inherited from llvm::DefaultDoCastIfPossible< To, PointerUnion< PTs... >, CastInfo< To, PointerUnion< PTs... > > >
static To doCastIfPossible (PointerUnion< PTs... > f)

Detailed Description

template<typename To, typename... PTs>
struct llvm::CastInfo< To, PointerUnion< PTs... > >

Definition at line 218 of file PointerUnion.h.

Member Typedef Documentation

◆ CastReturnType

using llvm::CastInfo< To, PointerUnion< PTs... >, void >::CastReturnType

Definition at line 479 of file Casting.h.

◆ From

template<typename To, typename... PTs>
using llvm::CastInfo< To, PointerUnion< PTs... > >::From = PointerUnion<PTs...>

Definition at line 221 of file PointerUnion.h.

◆ Self

using llvm::CastInfo< To, PointerUnion< PTs... >, void >::Self

Definition at line 477 of file Casting.h.

Member Function Documentation

◆ castFailed()

template<typename To, typename... PTs>
To llvm::CastInfo< To, PointerUnion< PTs... > >::castFailed ( )
inlinestatic

Definition at line 232 of file PointerUnion.h.

◆ doCast()

template<typename To, typename... PTs>
To llvm::CastInfo< To, PointerUnion< PTs... > >::doCast ( From & f)
inlinestatic

◆ doCastIfPossible()

CastReturnType llvm::CastInfo< To, PointerUnion< PTs... >, void >::doCastIfPossible ( const PointerUnion< PTs... > & f)
inlinestatic

Definition at line 492 of file Casting.h.

◆ isPossible()

template<typename To, typename... PTs>
bool llvm::CastInfo< To, PointerUnion< PTs... > >::isPossible ( From & f)
inlinestatic

Definition at line 223 of file PointerUnion.h.


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