clang  14.0.0git
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
llvm::PointerLikeTypeTraits< clang::LazyGenerationalUpdatePtr< Owner, T, Update > > Struct Template Reference

Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be placed into a PointerUnion. More...

#include "clang/AST/ExternalASTSource.h"

Collaboration diagram for llvm::PointerLikeTypeTraits< clang::LazyGenerationalUpdatePtr< Owner, T, Update > >:
Collaboration graph
[legend]

Public Types

using Ptr = clang::LazyGenerationalUpdatePtr< Owner, T, Update >
 

Static Public Member Functions

static void * getAsVoidPointer (Ptr P)
 
static Ptr getFromVoidPointer (void *P)
 

Static Public Attributes

static constexpr int NumLowBitsAvailable
 

Detailed Description

template<typename Owner, typename T, void(clang::ExternalASTSource::*)(Owner) Update>
struct llvm::PointerLikeTypeTraits< clang::LazyGenerationalUpdatePtr< Owner, T, Update > >

Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be placed into a PointerUnion.

Definition at line 469 of file ExternalASTSource.h.

Member Typedef Documentation

◆ Ptr

template<typename Owner , typename T , void(clang::ExternalASTSource::*)(Owner) Update>
using llvm::PointerLikeTypeTraits< clang::LazyGenerationalUpdatePtr< Owner, T, Update > >::Ptr = clang::LazyGenerationalUpdatePtr<Owner, T, Update>

Definition at line 471 of file ExternalASTSource.h.

Member Function Documentation

◆ getAsVoidPointer()

template<typename Owner , typename T , void(clang::ExternalASTSource::*)(Owner) Update>
static void* llvm::PointerLikeTypeTraits< clang::LazyGenerationalUpdatePtr< Owner, T, Update > >::getAsVoidPointer ( Ptr  P)
inlinestatic

Definition at line 473 of file ExternalASTSource.h.

References P.

◆ getFromVoidPointer()

template<typename Owner , typename T , void(clang::ExternalASTSource::*)(Owner) Update>
static Ptr llvm::PointerLikeTypeTraits< clang::LazyGenerationalUpdatePtr< Owner, T, Update > >::getFromVoidPointer ( void *  P)
inlinestatic

Definition at line 474 of file ExternalASTSource.h.

References P.

Member Data Documentation

◆ NumLowBitsAvailable

template<typename Owner , typename T , void(clang::ExternalASTSource::*)(Owner) Update>
constexpr int llvm::PointerLikeTypeTraits< clang::LazyGenerationalUpdatePtr< Owner, T, Update > >::NumLowBitsAvailable
staticconstexpr
Initial value:
=
PointerLikeTypeTraits<T>::NumLowBitsAvailable - 1

Definition at line 476 of file ExternalASTSource.h.


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