LLVM  6.0.0svn
Public Types | Static Public Member Functions | List of all members
llvm::PointerUnionUIntTraits< PT1, PT2 > Class Template Reference

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

#include "llvm/ADT/PointerUnion.h"

Public Types

enum  { PT1BitsAv = (int)(PointerLikeTypeTraits<PT1>::NumLowBitsAvailable), PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable) }
 

Static Public Member Functions

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

Detailed Description

template<typename PT1, typename PT2>
class llvm::PointerUnionUIntTraits< PT1, PT2 >

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

Definition at line 59 of file PointerUnion.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename PT1 , typename PT2 >
anonymous enum
Enumerator
PT1BitsAv 
PT2BitsAv 

Definition at line 64 of file PointerUnion.h.

Member Function Documentation

◆ getAsVoidPointer()

template<typename PT1 , typename PT2 >
static void* llvm::PointerUnionUIntTraits< PT1, PT2 >::getAsVoidPointer ( void *  P)
inlinestatic

Definition at line 61 of file PointerUnion.h.

References P.

◆ getFromVoidPointer()

template<typename PT1 , typename PT2 >
static void* llvm::PointerUnionUIntTraits< PT1, PT2 >::getFromVoidPointer ( void *  P)
inlinestatic

Definition at line 62 of file PointerUnion.h.

References P.


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