virtual bool
IsDynamic ()
{
- return false;
+ if (m_parent)
+ return m_parent->IsDynamic();
+ else
+ return false;
+ }
+
+ virtual lldb::DynamicValueType
+ GetDynamicValueType ()
+ {
+ if (m_parent)
+ return m_parent->GetDynamicValueType();
+ else
+ return lldb::eNoDynamicValues;
}
virtual ValueObject *
{
if (!m_parent)
return lldb::ValueObjectSP();
- if (m_parent->IsDynamic() && m_parent->GetDynamicValueType() == valueType)
- return m_parent->GetSP();
- return ValueObject::GetDynamicValue(valueType);
+ if (IsDynamic() && GetDynamicValueType() == valueType)
+ return GetSP();
+ return m_parent->GetDynamicValue(valueType);
}
bool