LLVM 23.0.0git
llvm::PointerLikeTypeTraits< const T * > Struct Template Reference

#include "llvm/Support/PointerLikeTypeTraits.h"

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

Public Types

using NonConst = PointerLikeTypeTraits<T *>

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 85 of file PointerLikeTypeTraits.h.

Member Typedef Documentation

◆ NonConst

template<typename T>
using llvm::PointerLikeTypeTraits< const T * >::NonConst = PointerLikeTypeTraits<T *>

Definition at line 86 of file PointerLikeTypeTraits.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 88 of file PointerLikeTypeTraits.h.

References P, and T.

◆ getFromVoidPointer()

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

Definition at line 91 of file PointerLikeTypeTraits.h.

References P, and T.

Member Data Documentation

◆ NumLowBitsAvailable

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

Definition at line 94 of file PointerLikeTypeTraits.h.


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