[Lldb-commits] [lldb] r116855 - /lldb/trunk/source/Expression/ClangUserExpression.cpp

Sean Callanan scallanan at apple.com
Tue Oct 19 13:15:00 PDT 2010


Author: spyffe
Date: Tue Oct 19 15:15:00 2010
New Revision: 116855

URL: http://llvm.org/viewvc/llvm-project?rev=116855&view=rev
Log:
Fixed the message that reports that an expression
did not return a result.  The result is nonexistent
(or void), not NULL.

Modified:
    lldb/trunk/source/Expression/ClangUserExpression.cpp

Modified: lldb/trunk/source/Expression/ClangUserExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangUserExpression.cpp?rev=116855&r1=116854&r2=116855&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangUserExpression.cpp (original)
+++ lldb/trunk/source/Expression/ClangUserExpression.cpp Tue Oct 19 15:15:00 2010
@@ -422,13 +422,13 @@
             }
             else
             {
-                error.SetErrorString ("NULL expression result");
+                error.SetErrorString ("Expression did not return a result");
             }
         }
     }
+    
     if (result_valobj_sp.get() == NULL)
         result_valobj_sp.reset (new ValueObjectConstResult (error));
 
     return result_valobj_sp;
-
 }
\ No newline at end of file





More information about the lldb-commits mailing list