clang 20.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Pointer.h"
Public Member Functions | |
IntPointer | atOffset (const ASTContext &ASTCtx, unsigned Offset) const |
IntPointer | baseCast (const ASTContext &ASTCtx, unsigned BaseOffset) const |
Public Attributes | |
const Descriptor * | Desc |
uint64_t | Value |
IntPointer IntPointer::atOffset | ( | const ASTContext & | ASTCtx, |
unsigned | Offset | ||
) | const |
Definition at line 653 of file Pointer.cpp.
References clang::Decl::Decl(), Desc, clang::interp::Descriptor::ElemRecord, clang::interp::Record::fields(), clang::ASTContext::getASTRecordLayout(), clang::FieldDecl::getFieldIndex(), clang::ASTRecordLayout::getFieldOffset(), clang::FieldDecl::getParent(), clang::CharUnits::getQuantity(), and clang::ASTContext::toCharUnitsFromBits().
Referenced by clang::interp::GetPtrField(), and clang::interp::GetPtrFieldPop().
IntPointer IntPointer::baseCast | ( | const ASTContext & | ASTCtx, |
unsigned | BaseOffset | ||
) | const |
Definition at line 680 of file Pointer.cpp.
References clang::interp::Descriptor::asDecl(), clang::interp::Record::bases(), Desc, clang::interp::Descriptor::ElemRecord, clang::ASTContext::getASTRecordLayout(), clang::ASTRecordLayout::getBaseClassOffset(), clang::interp::Record::getDecl(), and clang::CharUnits::getQuantity().
Referenced by clang::interp::GetPtrBase(), and clang::interp::GetPtrBasePop().
const Descriptor* clang::interp::IntPointer::Desc |
Definition at line 45 of file Pointer.h.
Referenced by atOffset(), baseCast(), clang::interp::Pointer::elemSize(), clang::interp::Pointer::getDeclDesc(), clang::interp::Pointer::getFieldDesc(), clang::interp::Pointer::getSource(), and clang::interp::OffsetHelper().
uint64_t clang::interp::IntPointer::Value |
Definition at line 46 of file Pointer.h.
Referenced by clang::interp::Pointer::getByteOffset(), clang::interp::Pointer::getIntegerRepresentation(), clang::interp::Pointer::isZero(), and clang::interp::Pointer::operator==().