[Lldb-commits] [lldb] r231804 - Fix a comment for ValueObject::GetValueDidChange after r231526

Ilia K ki.stfu at gmail.com
Tue Mar 10 10:24:32 PDT 2015


Author: ki.stfu
Date: Tue Mar 10 12:24:32 2015
New Revision: 231804

URL: http://llvm.org/viewvc/llvm-project?rev=231804&view=rev
Log:
Fix a comment for ValueObject::GetValueDidChange after r231526

Summary:
Fix a comment for ValueObject::GetValueDidChange after r231526.

This fix was requested by @jingham.

Reviewers: jingham, ki.stfu

Reviewed By: ki.stfu

Subscribers: lldb-commits, jingham

Differential Revision: http://reviews.llvm.org/D8206

Modified:
    lldb/trunk/include/lldb/API/SBValue.h
    lldb/trunk/include/lldb/Core/ValueObject.h

Modified: lldb/trunk/include/lldb/API/SBValue.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBValue.h?rev=231804&r1=231803&r2=231804&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBValue.h (original)
+++ lldb/trunk/include/lldb/API/SBValue.h Tue Mar 10 12:24:32 2015
@@ -84,7 +84,7 @@ public:
     ValueType
     GetValueType ();
 
-    // It will be only valid starting from the second time.
+    // If you call this on a newly created ValueObject, it will always return false.
     bool
     GetValueDidChange ();
 

Modified: lldb/trunk/include/lldb/Core/ValueObject.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ValueObject.h?rev=231804&r1=231803&r2=231804&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ValueObject.h (original)
+++ lldb/trunk/include/lldb/Core/ValueObject.h Tue Mar 10 12:24:32 2015
@@ -649,7 +649,7 @@ public:
     bool
     GetValueIsValid () const;
 
-    // It will be only valid starting from the second time.
+    // If you call this on a newly created ValueObject, it will always return false.
     bool
     GetValueDidChange ();
 





More information about the lldb-commits mailing list