clang
9.0.0
|
#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 |
Static Public Member Functions | |
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 116 of file APValue.h.
References bool, clang::TypeInfoLValue::getOpaqueValue(), and clang::operator==().
Referenced by CheckLValueConstantExpression(), EvalPointerValueAsBool(), EvaluateBuiltinConstantPForLValue(), evaluateLValueAsAllocSize(), getObjectType(), isDesignatorAtObjectEnd(), IsGlobalLValue(), lifetimeStartedInEvaluation(), and NoteLValueLocation().
|
inline |
Definition at line 113 of file APValue.h.
Referenced by getObjectType(), and IsGlobalLValue().
unsigned APValue::LValueBase::getCallIndex | ( | ) | const |
Definition at line 53 of file APValue.cpp.
References Local.
Referenced by clang::hash_value(), and lifetimeStartedInEvaluation().
void * APValue::LValueBase::getOpaqueValue | ( | ) | const |
Definition at line 88 of file APValue.cpp.
Referenced by clang::hash_value().
|
static |
Definition at line 45 of file APValue.cpp.
Referenced by EvaluateLValue().
QualType APValue::LValueBase::getTypeInfoType | ( | ) | const |
Definition at line 61 of file APValue.cpp.
References clang::QualType::getFromOpaquePtr(), and TypeInfoType.
Referenced by getObjectType().
unsigned APValue::LValueBase::getVersion | ( | ) | const |
|
inline |
Definition at line 110 of file APValue.h.
Referenced by EvaluateBuiltinConstantPForLValue(), getObjectType(), clang::hash_value(), IsGlobalLValue(), and clang::operator==().
bool APValue::LValueBase::isNull | ( | ) | const |
Definition at line 92 of file APValue.cpp.
Referenced by EvaluateBuiltinConstantPForLValue(), and evaluateLValueAsAllocSize().
|
explicit |
Definition at line 96 of file APValue.cpp.
|
friend |
Definition at line 113 of file APValue.cpp.
Referenced by llvm::DenseMapInfo< clang::APValue::LValueBase >::getHashValue().
|
friend |
|
friend |
Definition at line 67 of file APValue.cpp.
LocalState clang::APValue::LValueBase::Local |
Definition at line 140 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 142 of file APValue.h.
Referenced by getTypeInfoType().