LLVM 22.0.0git
llvm::pointer_union_detail::PointerUnionUIntTraits< PTs > Class Template Reference

Provide PointerLikeTypeTraits for void* that is used by PointerUnion for the template arguments. More...

#include "llvm/ADT/PointerUnion.h"

Static Public Member Functions

static void * getAsVoidPointer (void *P)
static void * getFromVoidPointer (void *P)

Static Public Attributes

static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>()

Detailed Description

template<typename ... PTs>
class llvm::pointer_union_detail::PointerUnionUIntTraits< PTs >

Provide PointerLikeTypeTraits for void* that is used by PointerUnion for the template arguments.

Definition at line 48 of file PointerUnion.h.

Member Function Documentation

◆ getAsVoidPointer()

template<typename ... PTs>
void * llvm::pointer_union_detail::PointerUnionUIntTraits< PTs >::getAsVoidPointer ( void * P)
inlinestatic

Definition at line 50 of file PointerUnion.h.

References P.

◆ getFromVoidPointer()

template<typename ... PTs>
void * llvm::pointer_union_detail::PointerUnionUIntTraits< PTs >::getFromVoidPointer ( void * P)
inlinestatic

Definition at line 51 of file PointerUnion.h.

References P.

Member Data Documentation

◆ NumLowBitsAvailable

template<typename ... PTs>
int llvm::pointer_union_detail::PointerUnionUIntTraits< PTs >::NumLowBitsAvailable = lowBitsAvailable<PTs...>()
staticconstexpr

Definition at line 52 of file PointerUnion.h.


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