DataExtractor &
GetDataExtractor ();
+ void
+ ResetCompleteTypeInfo ();
+
//------------------------------------------------------------------
// Sublasses must implement the functions below.
//------------------------------------------------------------------
ClearUserVisibleData(eClearUserVisibleDataItemsValue);
}
+void
+ValueObject::ResetCompleteTypeInfo ()
+{
+ m_did_calculate_complete_objc_class_type = false;
+ m_override_type = ClangASTType();
+}
+
ClangASTType
ValueObject::MaybeCalculateCompleteType ()
{
if (!m_type_sp)
{
m_type_sp = dynamic_type_sp;
+ ResetCompleteTypeInfo ();
}
else if (dynamic_type_sp != m_type_sp)
{
// We are another type, we need to tear down our children...
m_type_sp = dynamic_type_sp;
SetValueDidChange (true);
+ ResetCompleteTypeInfo ();
}
if (!m_address.IsValid() || m_address != dynamic_address)