LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
llvm::PointerUnionUIntTraits< PT1, PT2 > Class Template Reference

#include <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 53 of file PointerUnion.h.

Member Enumeration Documentation

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

Definition at line 57 of file PointerUnion.h.

Member Function Documentation

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

Definition at line 55 of file PointerUnion.h.

References P.

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

Definition at line 56 of file PointerUnion.h.

References P.


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