diff options
author | Greg Clayton <gclayton@apple.com> | 2012-10-31 20:51:31 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-10-31 20:51:31 +0000 |
commit | 5d361d7e3a99ad9cef6143ce37fef6fedb99de40 (patch) | |
tree | 6a6d3ce2856a0a79ffa16e11f024091b63e9b3f3 /lldb/source/Expression/ASTResultSynthesizer.cpp | |
parent | 26ab83d3dd8ac3287a3cf639395a1bf21b70ab3b (diff) | |
download | bcm5719-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.cpp | 2 |
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(); |