clang  7.0.0
Public Types | Public Member Functions | List of all members
clang::APValue::LValueBase Class Reference

#include "clang/AST/APValue.h"

Public Types

typedef llvm::PointerUnion< const ValueDecl *, const Expr * > PtrTy
 

Public Member Functions

 LValueBase ()
 
template<class T >
 LValueBase (T P, unsigned I=0, unsigned V=0)
 
template<class T >
bool is () const
 
template<class T >
get () const
 
template<class T >
dyn_cast () const
 
void * getOpaqueValue () const
 
bool isNull () const
 
 operator bool () const
 
PtrTy getPointer () const
 
unsigned getCallIndex () const
 
void setCallIndex (unsigned Index)
 
unsigned getVersion () const
 
bool operator== (const LValueBase &Other) const
 

Detailed Description

Definition at line 57 of file APValue.h.

Member Typedef Documentation

◆ PtrTy

typedef llvm::PointerUnion<const ValueDecl *, const Expr *> clang::APValue::LValueBase::PtrTy

Definition at line 59 of file APValue.h.

Constructor & Destructor Documentation

◆ LValueBase() [1/2]

clang::APValue::LValueBase::LValueBase ( )
inline

Definition at line 61 of file APValue.h.

◆ LValueBase() [2/2]

template<class T >
clang::APValue::LValueBase::LValueBase ( P,
unsigned  I = 0,
unsigned  V = 0 
)
inline

Definition at line 64 of file APValue.h.

Member Function Documentation

◆ dyn_cast()

template<class T >
T clang::APValue::LValueBase::dyn_cast ( ) const
inline

◆ get()

template<class T >
T clang::APValue::LValueBase::get ( ) const
inline

Definition at line 71 of file APValue.h.

Referenced by getObjectType(), IsGlobalLValue(), and NoteLValueLocation().

◆ getCallIndex()

unsigned clang::APValue::LValueBase::getCallIndex ( ) const
inline

◆ getOpaqueValue()

void * APValue::LValueBase::getOpaqueValue ( ) const

◆ getPointer()

PtrTy clang::APValue::LValueBase::getPointer ( ) const
inline

Definition at line 82 of file APValue.h.

◆ getVersion()

unsigned clang::APValue::LValueBase::getVersion ( ) const
inline

◆ is()

template<class T >
bool clang::APValue::LValueBase::is ( ) const
inline

Definition at line 68 of file APValue.h.

◆ isNull()

bool APValue::LValueBase::isNull ( ) const

Definition at line 38 of file APValue.cpp.

Referenced by dyn_cast(), and evaluateLValueAsAllocSize().

◆ operator bool()

APValue::LValueBase::operator bool ( ) const
explicit

Definition at line 42 of file APValue.cpp.

◆ operator==()

bool clang::APValue::LValueBase::operator== ( const LValueBase Other) const
inline

Definition at line 98 of file APValue.h.

◆ setCallIndex()

void clang::APValue::LValueBase::setCallIndex ( unsigned  Index)
inline

Definition at line 90 of file APValue.h.


The documentation for this class was generated from the following files: