LLVM  14.0.0git
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 224 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 225 of file PointerUnion.h.

References P.

◆ getFromVoidPointer()

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

Definition at line 229 of file PointerUnion.h.

References llvm::PointerUnion< PTs >::getFromOpaqueValue(), and P.

Member Data Documentation

◆ NumLowBitsAvailable

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

Definition at line 235 of file PointerUnion.h.


The documentation for this struct was generated from the following file:
llvm::PointerLikeTypeTraits< PointerUnion< PTs... > >::NumLowBitsAvailable
static constexpr int NumLowBitsAvailable
Definition: PointerUnion.h:235