From: Devang Patel Date: Tue, 30 Oct 2007 18:31:12 +0000 (+0000) Subject: Remove commented out line. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03f7c03ecf6bc772b851e19e81643b8e804258c8;p=clang Remove commented out line. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43508 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CodeGen/CGExprScalar.cpp b/CodeGen/CGExprScalar.cpp index e443a2636a..277bcdea2c 100644 --- a/CodeGen/CGExprScalar.cpp +++ b/CodeGen/CGExprScalar.cpp @@ -622,8 +622,7 @@ Value *ScalarExprEmitter::EmitCompoundAssign(const CompoundAssignOperator *E, // Do not merge types for -= or += where the LHS is a pointer. if (!(E->getOpcode() == BinaryOperator::SubAssign || - E->getOpcode() == BinaryOperator::AddAssign) || - // if (E->getOpcode() != BinaryOperator::SubAssign || + E->getOpcode() == BinaryOperator::AddAssign) || !E->getLHS()->getType()->isPointerType()) { OpInfo.RHS = EmitScalarConversion(OpInfo.RHS, RHSTy, ComputeType); }