Carlo Kok was compiling with MSVC, caught some more issues.

llvm-svn: 167168
This commit is contained in:
Greg Clayton 2012-10-31 20:51:31 +00:00
parent 26ab83d3dd
commit 5d361d7e3a
1 changed files with 1 additions and 1 deletions

View File

@ -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();