LLVM 19.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::CastInfo< To, PointerUnion< PTs... > > Struct Template Reference

#include "llvm/ADT/PointerUnion.h"

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

Public Types

using From = PointerUnion< PTs... >
 
using Impl = CastInfoPointerUnionImpl< PTs... >
 

Static Public Member Functions

static bool isPossible (From &f)
 
static To doCast (From &f)
 
static To castFailed ()
 
- 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 241 of file PointerUnion.h.

Member Typedef Documentation

◆ From

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

Definition at line 244 of file PointerUnion.h.

◆ Impl

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

Definition at line 245 of file PointerUnion.h.

Member Function Documentation

◆ castFailed()

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

Definition at line 253 of file PointerUnion.h.

◆ doCast()

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

Definition at line 251 of file PointerUnion.h.

◆ isPossible()

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

Definition at line 247 of file PointerUnion.h.


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