LLVM  12.0.0git
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
llvm::PointerLikeTypeTraits< const T * > Struct Template Reference

#include "llvm/Support/PointerLikeTypeTraits.h"

Collaboration diagram for llvm::PointerLikeTypeTraits< const T * >:
Collaboration graph
[legend]

Public Types

typedef PointerLikeTypeTraits< T * > NonConst
 

Static Public Member Functions

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

Static Public Attributes

static constexpr int NumLowBitsAvailable = NonConst::NumLowBitsAvailable
 

Detailed Description

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

Definition at line 92 of file PointerLikeTypeTraits.h.

Member Typedef Documentation

◆ NonConst

template<typename T >
typedef PointerLikeTypeTraits<T *> llvm::PointerLikeTypeTraits< const T * >::NonConst

Definition at line 93 of file PointerLikeTypeTraits.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 95 of file PointerLikeTypeTraits.h.

◆ getFromVoidPointer()

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

Definition at line 98 of file PointerLikeTypeTraits.h.

Member Data Documentation

◆ NumLowBitsAvailable

template<typename T >
constexpr int llvm::PointerLikeTypeTraits< const T * >::NumLowBitsAvailable = NonConst::NumLowBitsAvailable
static

Definition at line 101 of file PointerLikeTypeTraits.h.


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