From: Greg Clayton Date: Wed, 31 Oct 2012 20:51:31 +0000 (+0000) Subject: Carlo Kok was compiling with MSVC, caught some more issues. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d361d7e3a99ad9cef6143ce37fef6fedb99de40;p=platform%2Fupstream%2Fllvm.git Carlo Kok was compiling with MSVC, caught some more issues. llvm-svn: 167168 --- diff --git a/lldb/source/Expression/ASTResultSynthesizer.cpp b/lldb/source/Expression/ASTResultSynthesizer.cpp index f40266c..f295209 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();