clang 24.0.0git
clang::interp::StringPointer Struct Reference

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Pointer.h"

Public Member Functions

StringPointer decay () const
const StringLiteralgetLiteral () const

Public Attributes

const ExprBase = nullptr
unsigned ID = 0
bool Decayed = false

Detailed Description

Definition at line 382 of file Pointer.h.

Member Function Documentation

◆ decay()

StringPointer clang::interp::StringPointer::decay ( ) const
inline

Definition at line 387 of file Pointer.h.

References Base, and ID.

◆ getLiteral()

const StringLiteral * clang::interp::StringPointer::getLiteral ( ) const
inline

Member Data Documentation

◆ Base

const Expr* clang::interp::StringPointer::Base = nullptr

Definition at line 383 of file Pointer.h.

Referenced by decay(), getLiteral(), and clang::interp::Pointer::operator==().

◆ Decayed

bool clang::interp::StringPointer::Decayed = false

Definition at line 385 of file Pointer.h.

◆ ID

unsigned clang::interp::StringPointer::ID = 0

Definition at line 384 of file Pointer.h.

Referenced by decay(), and clang::interp::Pointer::hasSameBase().


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