LLVM  6.0.0svn
Public Types | Static Public Member Functions | List of all members
llvm::PointerLikeTypeTraits< T * > Struct Template Reference

#include "llvm/Support/PointerLikeTypeTraits.h"

Public Types

enum  { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value }
 

Static Public Member Functions

static void * getAsVoidPointer (T *P)
 
static TgetFromVoidPointer (void *P)
 

Detailed Description

template<typename T>
struct llvm::PointerLikeTypeTraits< T * >

Definition at line 55 of file PointerLikeTypeTraits.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
NumLowBitsAvailable 

Definition at line 59 of file PointerLikeTypeTraits.h.

Member Function Documentation

◆ getAsVoidPointer()

template<typename T >
static void* llvm::PointerLikeTypeTraits< T * >::getAsVoidPointer ( T P)
inlinestatic

Definition at line 56 of file PointerLikeTypeTraits.h.

References P.

◆ getFromVoidPointer()

template<typename T >
static T* llvm::PointerLikeTypeTraits< T * >::getFromVoidPointer ( void *  P)
inlinestatic

Definition at line 57 of file PointerLikeTypeTraits.h.

References P.


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