summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionDeclMap.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-09-13 04:03:52 +0000
committerGreg Clayton <gclayton@apple.com>2011-09-13 04:03:52 +0000
commitcce8671fca44f2194b76721c650d1d545c6c8a87 (patch)
tree7b07aa42a88452550f6185f7194592958d1ee8ea /lldb/source/Expression/ClangExpressionDeclMap.cpp
parentcac923b5562df61cb599b073ec192c51d7a0e6ac (diff)
downloadbcm5719-llvm-cce8671fca44f2194b76721c650d1d545c6c8a87.tar.gz
bcm5719-llvm-cce8671fca44f2194b76721c650d1d545c6c8a87.zip
Fixed some incorrect return values.
llvm-svn: 139582
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionDeclMap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp
index 75387a9d33c..3ca7db108e1 100644
--- a/lldb/source/Expression/ClangExpressionDeclMap.cpp
+++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp
@@ -919,13 +919,13 @@ ClangExpressionDeclMap::DoMaterialize
if (!m_struct_vars->m_struct_laid_out)
{
err.SetErrorString("Structure hasn't been laid out yet");
- return LLDB_INVALID_ADDRESS;
+ return false;
}
if (!exe_ctx.frame)
{
err.SetErrorString("Received null execution frame");
- return LLDB_INVALID_ADDRESS;
+ return false;
}
ClangPersistentVariables &persistent_vars = exe_ctx.target->GetPersistentVariables();
OpenPOWER on IntegriCloud