9#ifndef LLDB_VALUEOBJECT_VALUEOBJECTCAST_H
10#define LLDB_VALUEOBJECT_VALUEOBJECTCAST_H
Generic representation of a type in a programming language.
CompilerType GetCompilerTypeImpl() override
llvm::Expected< uint32_t > CalculateNumChildren(uint32_t max) override
Should only be called by ValueObject::GetNumChildren().
llvm::Expected< uint64_t > GetByteSize() override
const ValueObjectCast & operator=(const ValueObjectCast &)=delete
bool IsInScope() override
ValueObject * GetParent() override
ValueObjectCast(const ValueObjectCast &)=delete
static lldb::ValueObjectSP Create(ValueObject &parent, llvm::StringRef name, const CompilerType &cast_type)
bool LivesInParentStorage()
True if the value is a scalar but the cast lives in the parent's storage.
bool UpdateValue() override
llvm::Error CanSetValue() override
Check if the value may be writable.
ValueObjectCast(ValueObject &parent, llvm::StringRef name, const CompilerType &cast_type)
AddrAndType GetAddressOf(bool scalar_is_load_address=true) override
~ValueObjectCast() override
const char * GetLocationAsCString() override
lldb::ValueType GetValueType() const override
const ValueObject * GetParent() const override
ValueObject(ExecutionContextScope *exe_scope, ValueObjectManager &manager, AddressType child_ptr_or_ref_addr_type=eAddressTypeLoad)
Use this constructor to create a "root variable object".
ValueObject * m_parent
The parent value object, or nullptr if this has no parent.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP