diff options
Diffstat (limited to 'lldb/source/Expression/ASTResultSynthesizer.cpp')
-rw-r--r-- | lldb/source/Expression/ASTResultSynthesizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Expression/ASTResultSynthesizer.cpp b/lldb/source/Expression/ASTResultSynthesizer.cpp index 7dd1ab45c8b..dcb18f4737b 100644 --- a/lldb/source/Expression/ASTResultSynthesizer.cpp +++ b/lldb/source/Expression/ASTResultSynthesizer.cpp @@ -238,6 +238,10 @@ ASTResultSynthesizer::SynthesizeBodyResult (CompoundStmt *Body, last_stmt_ptr--; last_stmt = *last_stmt_ptr; } + else + { + return false; + } } Expr *last_expr = dyn_cast<Expr>(last_stmt); |