forked from OSchip/llvm-project
Fixed the message that reports that an expression
did not return a result. The result is nonexistent (or void), not NULL. llvm-svn: 116855
This commit is contained in:
parent
a4fefc1949
commit
c57f64d1bf
|
@ -422,13 +422,13 @@ ClangUserExpression::Evaluate (ExecutionContext &exe_ctx, const char *expr_cstr)
|
|||
}
|
||||
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;
|
||||
|
||||
}
|
Loading…
Reference in New Issue