clang 24.0.0git
clang::interp::IntPointer Struct Reference

#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
const Type * getType () const
bool isNull () const
QualType getPointeeType () const

Public Attributes

llvm::PointerIntPair< const Type *, 1, bool > TypeAndIsNull
uint64_t Value

Detailed Description

Definition at line 360 of file Pointer.h.

Member Function Documentation

◆ atOffset()

◆ baseCast()

◆ getPointeeType()

◆ getType()

const Type * clang::interp::IntPointer::getType ( ) const
inline

Definition at line 367 of file Pointer.h.

References TypeAndIsNull.

Referenced by baseCast(), getPointeeType(), and clang::interp::Pointer::operator==().

◆ isNull()

bool clang::interp::IntPointer::isNull ( ) const
inline

Definition at line 368 of file Pointer.h.

References TypeAndIsNull.

Member Data Documentation

◆ TypeAndIsNull

llvm::PointerIntPair<const Type *, 1, bool> clang::interp::IntPointer::TypeAndIsNull

Definition at line 361 of file Pointer.h.

Referenced by getType(), and isNull().

◆ Value

uint64_t clang::interp::IntPointer::Value

Definition at line 362 of file Pointer.h.

Referenced by atOffset(), baseCast(), and clang::interp::Pointer::operator==().


The documentation for this struct was generated from the following files: