From 5d361d7e3a99ad9cef6143ce37fef6fedb99de40 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 31 Oct 2012 20:51:31 +0000 Subject: [PATCH] Carlo Kok was compiling with MSVC, caught some more issues. llvm-svn: 167168 --- lldb/source/Expression/ASTResultSynthesizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.7.4