diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-12-09 21:32:00 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-12-09 21:32:00 +0000 |
commit | 93e9cf8aa43545d5ebe7ea10642eb19ec458554d (patch) | |
tree | f4367845f9e5530b652bc77ab9a7e1abaabcc21d /clang/lib/CodeGen/CGExprComplex.cpp | |
parent | b31fba1613d98e6f3bb4fc2a906f52effa7b631a (diff) | |
download | bcm5719-llvm-93e9cf8aa43545d5ebe7ea10642eb19ec458554d.tar.gz bcm5719-llvm-93e9cf8aa43545d5ebe7ea10642eb19ec458554d.zip |
DebugInfo: Correct location for compound complex assignment
llvm-svn: 223835
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprComplex.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 = |