|
clang 22.0.0git
|
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 | |
| Value & | operator= (const Value &RHS) |
| Value & | operator= (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 ASTContext & | getASTContext () const |
| const Interpreter & | getInterpreter () 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 Interpreter * | Interp = nullptr |
| void * | OpaqueType = nullptr |
| Storage | Data |
| Kind | ValueKind = K_Unspecified |
| bool | IsManuallyAlloc = false |
Definition at line 176 of file InterpreterValuePrinter.cpp.
|
inline |
Definition at line 177 of file InterpreterValuePrinter.cpp.
References clang::Value::IsManuallyAlloc, and clang::Value::Value().