clang 20.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"

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 477 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 479 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 481 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 482 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 484 of file ExternalASTSource.h.


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