LLVM  10.0.0svn
Static Public Member Functions | Static Public Attributes | List of all members
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"

Collaboration diagram for llvm::pointer_union_detail::PointerUnionUIntTraits< PTs >:
Collaboration graph
[legend]

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

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 98 of file PointerUnion.h.

References P.

◆ getFromVoidPointer()

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

Definition at line 99 of file PointerUnion.h.

References P.

Member Data Documentation

◆ NumLowBitsAvailable

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

Definition at line 100 of file PointerUnion.h.


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