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< TNonConst
 

Static Public Member Functions

static const void * getAsVoidPointer (const T P)
 
static const T getFromVoidPointer (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 79 of file PointerLikeTypeTraits.h.

Member Typedef Documentation

◆ NonConst

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

Definition at line 80 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 82 of file PointerLikeTypeTraits.h.

◆ getFromVoidPointer()

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

Definition at line 85 of file PointerLikeTypeTraits.h.

Member Data Documentation

◆ NumLowBitsAvailable

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

Definition at line 88 of file PointerLikeTypeTraits.h.


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