LLVM  10.0.0svn
Static Public Member Functions | Static Public Attributes | List of all members
llvm::PointerLikeTypeTraits< PointerUnion< PTs... > > Struct Template Reference

#include "llvm/ADT/PointerUnion.h"

Collaboration diagram for llvm::PointerLikeTypeTraits< PointerUnion< PTs... > >:
Collaboration graph
[legend]

Static Public Member Functions

static void * getAsVoidPointer (const PointerUnion< PTs... > &P)
 
static PointerUnion< PTs... > getFromVoidPointer (void *P)
 

Static Public Attributes

static constexpr int NumLowBitsAvailable
 

Detailed Description

template<typename ... PTs>
struct llvm::PointerLikeTypeTraits< PointerUnion< PTs... > >

Definition at line 270 of file PointerUnion.h.

Member Function Documentation

◆ getAsVoidPointer()

template<typename ... PTs>
static void* llvm::PointerLikeTypeTraits< PointerUnion< PTs... > >::getAsVoidPointer ( const PointerUnion< PTs... > &  P)
inlinestatic

Definition at line 271 of file PointerUnion.h.

References llvm::PointerUnion< PTs >::getOpaqueValue().

◆ getFromVoidPointer()

template<typename ... PTs>
static PointerUnion<PTs...> llvm::PointerLikeTypeTraits< PointerUnion< PTs... > >::getFromVoidPointer ( void *  P)
inlinestatic

Definition at line 275 of file PointerUnion.h.

References llvm::PointerUnion< PTs >::getFromOpaqueValue().

Member Data Documentation

◆ NumLowBitsAvailable

template<typename ... PTs>
constexpr int llvm::PointerLikeTypeTraits< PointerUnion< PTs... > >::NumLowBitsAvailable
static
Initial value:
= PointerLikeTypeTraits<decltype(
PointerUnion<PTs...>::Val)>::NumLowBitsAvailable

Definition at line 281 of file PointerUnion.h.


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