Skip to content

Commit 9b98af6

Browse files
mmhaandykaylor
andauthored
Update clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
Co-authored-by: Andy Kaylor <[email protected]>
1 parent 7a6c957 commit 9b98af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ LValue ScalarExprEmitter::emitCompoundAssignLValue(
762762
SourceLocation loc = e->getExprLoc();
763763
if (!promotionTypeLHS.isNull())
764764
opInfo.lhs = emitScalarConversion(opInfo.lhs, lhsTy, promotionTypeLHS,
765-
e->getExprLoc());
765+
loc);
766766
else
767767
opInfo.lhs = emitScalarConversion(opInfo.lhs, lhsTy,
768768
e->getComputationLHSType(), loc);

0 commit comments

Comments
 (0)