clang 22.0.0git
clang::ValueRef Struct Reference
Inheritance diagram for clang::ValueRef:
[legend]

Public Member Functions

 ValueRef (const Interpreter *In, void *Ty)
Public Member Functions inherited from clang::Value
 Value ()=default
 Value (const Interpreter *In, void *Ty)
 Value (const Value &RHS)
 Value (Value &&RHS) noexcept
Valueoperator= (const Value &RHS)
Valueoperator= (Value &&RHS) noexcept
 ~Value ()
void printType (llvm::raw_ostream &Out) const
void printData (llvm::raw_ostream &Out) const
void print (llvm::raw_ostream &Out) const
void dump () const
void clear ()
const ASTContextgetASTContext () const
const InterpretergetInterpreter () const
QualType getType () const
bool isValid () const
bool isVoid () const
bool hasValue () const
bool isManuallyAlloc () const
Kind getKind () const
void setKind (Kind K)
void setOpaqueType (void *Ty)
void * getPtr () const
void setPtr (void *Ptr)
void setRawBits (void *Ptr, unsigned NBits=sizeof(Storage))
template<typename T>
REPL_BUILTIN_TYPES T convertTo () const
 Get the value with cast.
template<>
void * as () const

Additional Inherited Members

Public Types inherited from clang::Value
enum  Kind { K_Void , K_PtrOrObj , K_Unspecified }
Protected Member Functions inherited from clang::Value
bool isPointerOrObjectType () const
template<typename T>
T as () const
 Get to the value with type checking casting the underlying stored value to T.
Protected Attributes inherited from clang::Value
const InterpreterInterp = nullptr
void * OpaqueType = nullptr
Storage Data
Kind ValueKind = K_Unspecified
bool IsManuallyAlloc = false

Detailed Description

Definition at line 176 of file InterpreterValuePrinter.cpp.

Constructor & Destructor Documentation

◆ ValueRef()

clang::ValueRef::ValueRef ( const Interpreter * In,
void * Ty )
inline

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