LLVM 20.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"

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 265 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 266 of file PointerUnion.h.

References P.

◆ getFromVoidPointer()

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

Definition at line 270 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 276 of file PointerUnion.h.


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