|
clang 23.0.0git
|
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Pointer.h"
Public Member Functions | |
| std::optional< IntPointer > | atOffset (const Context &Ctx, unsigned Offset) const |
| IntPointer | baseCast (const Context &Ctx, unsigned BaseOffset) const |
| QualType | getPointeeType () const |
Public Attributes | |
| const Type * | Ty |
| uint64_t | Value |
| std::optional< IntPointer > IntPointer::atOffset | ( | const Context & | Ctx, |
| unsigned | Offset ) const |
Definition at line 1004 of file Pointer.cpp.
References clang::Decl::Decl(), clang::Type::getAsRecordDecl(), clang::interp::Context::getASTContext(), clang::ASTContext::getASTRecordLayout(), clang::FieldDecl::getFieldIndex(), clang::ASTRecordLayout::getFieldOffset(), clang::FieldDecl::getParent(), getPointeeType(), clang::CharUnits::getQuantity(), clang::interp::Context::getRecord(), clang::ValueDecl::getType(), clang::QualType::getTypePtr(), clang::Decl::isInvalidDecl(), clang::QualType::isNull(), clang::Type::isRecordType(), clang::ASTContext::toCharUnitsFromBits(), and Value.
Referenced by clang::interp::getField().
| IntPointer IntPointer::baseCast | ( | const Context & | Ctx, |
| unsigned | BaseOffset ) const |
Definition at line 1038 of file Pointer.cpp.
References clang::interp::Descriptor::asDecl(), clang::cast(), clang::interp::Descriptor::ElemRecord, clang::Type::getAsRecordDecl(), clang::Decl::getASTContext(), clang::interp::Context::getASTContext(), clang::ASTContext::getASTRecordLayout(), clang::ASTRecordLayout::getBaseClassOffset(), clang::interp::Record::getDecl(), getPointeeType(), clang::CharUnits::getQuantity(), clang::interp::Context::getRecord(), clang::ASTContext::getTagType(), clang::QualType::isNull(), clang::Type::isRecordType(), clang::None, Ty, and Value.
|
inline |
Definition at line 339 of file Pointer.h.
References clang::Type::getAsArrayTypeUnsafe(), clang::ArrayType::getElementType(), clang::Type::getPointeeType(), clang::QualType::IgnoreParens(), clang::Type::isArrayType(), clang::Type::isPointerOrReferenceType(), and Ty.
Referenced by atOffset(), baseCast(), and clang::interp::OffsetHelper().
| const Type* clang::interp::IntPointer::Ty |
Definition at line 333 of file Pointer.h.
Referenced by baseCast(), getPointeeType(), clang::interp::OffsetHelper(), and clang::interp::Pointer::operator==().
| uint64_t clang::interp::IntPointer::Value |
Definition at line 334 of file Pointer.h.
Referenced by atOffset(), baseCast(), and clang::interp::Pointer::operator==().