clang 20.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) | |
void | Profile (llvm::FoldingSetNodeID &ID) const |
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 |
QualType | getType () const |
Static Public Member Functions | |
static LValueBase | getDynamicAlloc (DynamicAllocLValue LV, QualType Type) |
static LValueBase | getTypeInfo (TypeInfoLValue LV, QualType TypeInfo) |
Friends | |
struct | llvm::DenseMapInfo< LValueBase > |
bool | operator== (const LValueBase &LHS, const LValueBase &RHS) |
bool | operator!= (const LValueBase &LHS, const LValueBase &RHS) |
llvm::hash_code | hash_value (const LValueBase &Base) |
Definition at line 42 of file APValue.cpp.
References clang::cast().
Definition at line 44 of file APValue.cpp.
Definition at line 167 of file APValue.h.
References clang::T.
Referenced by getObjectType(), clang::ASTNodeImporter::ImportAPValue(), and IsGlobalLValue().
Definition at line 164 of file APValue.h.
References clang::T.
Referenced by clang::ASTNodeImporter::ImportAPValue(), and IsGlobalLValue().
unsigned APValue::LValueBase::getCallIndex | ( | ) | const |
Definition at line 108 of file APValue.cpp.
Referenced by clang::ASTNodeImporter::ImportAPValue().
|
static |
Definition at line 47 of file APValue.cpp.
Referenced by clang::interp::Pointer::toAPValue().
QualType APValue::LValueBase::getDynamicAllocType | ( | ) | const |
Definition at line 122 of file APValue.cpp.
References clang::QualType::getFromOpaquePtr().
Referenced by getObjectType().
void * APValue::LValueBase::getOpaqueValue | ( | ) | const |
Definition at line 175 of file APValue.cpp.
QualType APValue::LValueBase::getType | ( | ) | const |
Definition at line 63 of file APValue.cpp.
References D, clang::Decl::getMostRecentDecl(), clang::Type::isIncompleteArrayType(), clang::Expr::skipRValueSubobjectAdjustments(), and clang::T.
Referenced by getLValueType().
|
static |
Definition at line 55 of file APValue.cpp.
Referenced by clang::ASTNodeImporter::ImportAPValue().
QualType APValue::LValueBase::getTypeInfoType | ( | ) | const |
Definition at line 117 of file APValue.cpp.
References clang::QualType::getFromOpaquePtr().
Referenced by getObjectType(), and clang::ASTNodeImporter::ImportAPValue().
unsigned APValue::LValueBase::getVersion | ( | ) | const |
Definition at line 113 of file APValue.cpp.
Referenced by clang::ASTNodeImporter::ImportAPValue().
Definition at line 161 of file APValue.h.
References clang::T.
Referenced by getObjectType(), clang::ASTNodeImporter::ImportAPValue(), and IsGlobalLValue().
bool APValue::LValueBase::isNull | ( | ) | const |
Definition at line 179 of file APValue.cpp.
|
explicit |
Definition at line 183 of file APValue.cpp.
References bool.
void APValue::LValueBase::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const |
Definition at line 127 of file APValue.cpp.
Referenced by clang::APValue::Profile().
|
friend |
Definition at line 202 of file APValue.cpp.
|
friend |
|
friend |
|
friend |
Definition at line 136 of file APValue.cpp.
void* clang::APValue::LValueBase::DynamicAllocType |
The QualType, if this is a DynamicAllocLValue.
void* clang::APValue::LValueBase::TypeInfoType |
The type std::type_info, if this is a TypeInfoLValue.