clang  14.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::PointerLikeTypeTraits< clang::OpaquePtr< T > > Struct Template Reference

#include "clang/Sema/Ownership.h"

Collaboration diagram for llvm::PointerLikeTypeTraits< clang::OpaquePtr< T > >:
Collaboration graph
[legend]

Static Public Member Functions

static void * getAsVoidPointer (clang::OpaquePtr< T > P)
 
static clang::OpaquePtr< T > getFromVoidPointer (void *P)
 

Static Public Attributes

static constexpr int NumLowBitsAvailable = 0
 

Detailed Description

template<class T>
struct llvm::PointerLikeTypeTraits< clang::OpaquePtr< T > >

Definition at line 118 of file Ownership.h.

Member Function Documentation

◆ getAsVoidPointer()

template<class T >
static void* llvm::PointerLikeTypeTraits< clang::OpaquePtr< T > >::getAsVoidPointer ( clang::OpaquePtr< T >  P)
inlinestatic

Definition at line 121 of file Ownership.h.

References P.

◆ getFromVoidPointer()

template<class T >
static clang::OpaquePtr<T> llvm::PointerLikeTypeTraits< clang::OpaquePtr< T > >::getFromVoidPointer ( void *  P)
inlinestatic

Definition at line 126 of file Ownership.h.

References clang::OpaquePtr< PtrTy >::getFromOpaquePtr(), and P.

Member Data Documentation

◆ NumLowBitsAvailable

template<class T >
constexpr int llvm::PointerLikeTypeTraits< clang::OpaquePtr< T > >::NumLowBitsAvailable = 0
staticconstexpr

Definition at line 119 of file Ownership.h.


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