From 93e9cf8aa43545d5ebe7ea10642eb19ec458554d Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 9 Dec 2014 21:32:00 +0000 Subject: DebugInfo: Correct location for compound complex assignment llvm-svn: 223835 --- clang/lib/CodeGen/CGExprComplex.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/CodeGen') diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp index 7b7da17a3fd..2732d40093e 100644 --- a/clang/lib/CodeGen/CGExprComplex.cpp +++ b/clang/lib/CodeGen/CGExprComplex.cpp @@ -869,8 +869,7 @@ EmitCompoundAssignLValue(const CompoundAssignOperator *E, // Truncate the result and store it into the LHS lvalue. if (LHSTy->isAnyComplexType()) { ComplexPairTy ResVal = EmitComplexToComplexCast(Result, OpInfo.Ty, LHSTy); - // FIXME - EmitStoreOfComplex(ResVal, LHS, /*isInit*/ false, SourceLocation()); + EmitStoreOfComplex(ResVal, LHS, /*isInit*/ false, E->getLocStart()); Val = RValue::getComplex(ResVal); } else { llvm::Value *ResVal = -- cgit v1.2.3