Fixed the message that reports that an expression
did not return a result. The result is nonexistent
(or void), not NULL.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116855 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangUserExpression.cpp b/source/Expression/ClangUserExpression.cpp
index 50fffd0..7a28f97 100644
--- a/source/Expression/ClangUserExpression.cpp
+++ b/source/Expression/ClangUserExpression.cpp
@@ -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