[Lldb-commits] [lldb] r168748 - /lldb/trunk/source/Core/ValueObjectDynamicValue.cpp

Enrico Granata egranata at apple.com
Tue Nov 27 15:50:00 PST 2012


Author: enrico
Date: Tue Nov 27 17:50:00 2012
New Revision: 168748

URL: http://llvm.org/viewvc/llvm-project?rev=168748&view=rev
Log:
Fixing a silly typo in the previous patch

Modified:
    lldb/trunk/source/Core/ValueObjectDynamicValue.cpp

Modified: lldb/trunk/source/Core/ValueObjectDynamicValue.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObjectDynamicValue.cpp?rev=168748&r1=168747&r2=168748&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObjectDynamicValue.cpp (original)
+++ lldb/trunk/source/Core/ValueObjectDynamicValue.cpp Tue Nov 27 17:50:00 2012
@@ -176,9 +176,10 @@
     // Or we could return false, and make ourselves an echo of our parent?
     if (!found_dynamic_type)
     {
+        if (m_type_sp)
+            SetValueDidChange(true);
         ClearDynamicTypeInformation();
         m_type_sp.reset();
-        SetValueDidChange(true);
         m_value = m_parent->GetValue();
         m_error = m_value.GetValueAsData (&exe_ctx, GetClangAST(), m_data, 0, GetModule().get());
         return m_error.Success();





More information about the lldb-commits mailing list