summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ASTResultSynthesizer.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-10-31 20:51:31 +0000
committerGreg Clayton <gclayton@apple.com>2012-10-31 20:51:31 +0000
commit5d361d7e3a99ad9cef6143ce37fef6fedb99de40 (patch)
tree6a6d3ce2856a0a79ffa16e11f024091b63e9b3f3 /lldb/source/Expression/ASTResultSynthesizer.cpp
parent26ab83d3dd8ac3287a3cf639395a1bf21b70ab3b (diff)
downloadbcm5719-llvm-5d361d7e3a99ad9cef6143ce37fef6fedb99de40.tar.gz
bcm5719-llvm-5d361d7e3a99ad9cef6143ce37fef6fedb99de40.zip
Carlo Kok was compiling with MSVC, caught some more issues.
llvm-svn: 167168
Diffstat (limited to 'lldb/source/Expression/ASTResultSynthesizer.cpp')
-rw-r--r--lldb/source/Expression/ASTResultSynthesizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ASTResultSynthesizer.cpp b/lldb/source/Expression/ASTResultSynthesizer.cpp
index f40266ce358..f295209f6bd 100644
--- a/lldb/source/Expression/ASTResultSynthesizer.cpp
+++ b/lldb/source/Expression/ASTResultSynthesizer.cpp
@@ -269,7 +269,7 @@ ASTResultSynthesizer::SynthesizeBodyResult (CompoundStmt *Body,
if (!implicit_cast)
break;
- if (!implicit_cast->getCastKind() == CK_LValueToRValue)
+ if (implicit_cast->getCastKind() != CK_LValueToRValue)
break;
last_expr = implicit_cast->getSubExpr();
OpenPOWER on IntegriCloud