clang
10.0.0git
|
#include "clang/AST/APValue.h"
Public Member Functions | |
LValueBase () | |
LValueBase (const ValueDecl *P, unsigned I=0, unsigned V=0) | |
LValueBase (const Expr *P, unsigned I=0, unsigned V=0) | |
template<class T > | |
bool | is () const |
template<class T > | |
T | get () const |
template<class T > | |
T | dyn_cast () const |
void * | getOpaqueValue () const |
bool | isNull () const |
operator bool () const | |
unsigned | getCallIndex () const |
unsigned | getVersion () const |
QualType | getTypeInfoType () const |
QualType | getDynamicAllocType () const |
Static Public Member Functions | |
static LValueBase | getDynamicAlloc (DynamicAllocLValue LV, QualType Type) |
static LValueBase | getTypeInfo (TypeInfoLValue LV, QualType TypeInfo) |
Friends | |
bool | operator== (const LValueBase &LHS, const LValueBase &RHS) |
bool | operator!= (const LValueBase &LHS, const LValueBase &RHS) |
llvm::hash_code | hash_value (const LValueBase &Base) |
|
inline |
APValue::LValueBase::LValueBase | ( | const ValueDecl * | P, |
unsigned | I = 0 , |
||
unsigned | V = 0 |
||
) |
Definition at line 40 of file APValue.cpp.
APValue::LValueBase::LValueBase | ( | const Expr * | P, |
unsigned | I = 0 , |
||
unsigned | V = 0 |
||
) |
Definition at line 42 of file APValue.cpp.
|
inline |
Definition at line 157 of file APValue.h.
References bool, clang::TypeInfoLValue::getOpaqueValue(), and clang::operator==().
Referenced by CheckLValueConstantExpression(), EvalPointerValueAsBool(), EvaluateBuiltinConstantPForLValue(), evaluateLValueAsAllocSize(), getObjectType(), IsGlobalLValue(), lifetimeStartedInEvaluation(), and NoteLValueLocation().
|
inline |
Definition at line 154 of file APValue.h.
Referenced by IsGlobalLValue().
unsigned APValue::LValueBase::getCallIndex | ( | ) | const |
Definition at line 61 of file APValue.cpp.
References Local.
Referenced by clang::hash_value(), and lifetimeStartedInEvaluation().
|
static |
Definition at line 45 of file APValue.cpp.
QualType APValue::LValueBase::getDynamicAllocType | ( | ) | const |
Definition at line 75 of file APValue.cpp.
References DynamicAllocType, and clang::QualType::getFromOpaquePtr().
Referenced by getObjectType().
void * APValue::LValueBase::getOpaqueValue | ( | ) | const |
Definition at line 102 of file APValue.cpp.
Referenced by clang::hash_value().
|
static |
Definition at line 53 of file APValue.cpp.
QualType APValue::LValueBase::getTypeInfoType | ( | ) | const |
Definition at line 70 of file APValue.cpp.
References clang::QualType::getFromOpaquePtr(), and TypeInfoType.
Referenced by getObjectType().
unsigned APValue::LValueBase::getVersion | ( | ) | const |
|
inline |
Definition at line 151 of file APValue.h.
Referenced by CheckLValueConstantExpression(), EvaluateBuiltinConstantPForLValue(), getObjectType(), clang::hash_value(), IsGlobalLValue(), and clang::operator==().
bool APValue::LValueBase::isNull | ( | ) | const |
Definition at line 106 of file APValue.cpp.
Referenced by EvaluateBuiltinConstantPForLValue(), and evaluateLValueAsAllocSize().
|
explicit |
Definition at line 110 of file APValue.cpp.
|
friend |
Definition at line 127 of file APValue.cpp.
Referenced by llvm::DenseMapInfo< clang::APValue::LValueBase >::getHashValue().
|
friend |
|
friend |
Definition at line 81 of file APValue.cpp.
void* clang::APValue::LValueBase::DynamicAllocType |
The QualType, if this is a DynamicAllocLValue.
Definition at line 186 of file APValue.h.
Referenced by getDynamicAllocType().
LocalState clang::APValue::LValueBase::Local |
Definition at line 182 of file APValue.h.
Referenced by getCallIndex(), getVersion(), and clang::operator==().
void* clang::APValue::LValueBase::TypeInfoType |
The type std::type_info, if this is a TypeInfoLValue.
Definition at line 184 of file APValue.h.
Referenced by getTypeInfoType().