Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 94b94ee

Browse files
committed
Fix typoo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228963 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 3a3e2d8 commit 94b94ee

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: lib/CodeGen/CGExprComplex.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1086,8 +1086,8 @@ EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E) {
10861086
}
10871087

10881088
LValue CodeGenFunction::
1089-
EmitScalarCompooundAssignWithComplex(const CompoundAssignOperator *E,
1090-
llvm::Value *&Result) {
1089+
EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E,
1090+
llvm::Value *&Result) {
10911091
CompoundFunc Op = getComplexOp(E->getOpcode());
10921092
RValue Val;
10931093
LValue Ret = ComplexExprEmitter(*this).EmitCompoundAssignLValue(E, Op, Val);

Diff for: lib/CodeGen/CGExprScalar.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2056,7 +2056,7 @@ LValue ScalarExprEmitter::EmitCompoundAssignLValue(
20562056
BinOpInfo OpInfo;
20572057

20582058
if (E->getComputationResultType()->isAnyComplexType())
2059-
return CGF.EmitScalarCompooundAssignWithComplex(E, Result);
2059+
return CGF.EmitScalarCompoundAssignWithComplex(E, Result);
20602060

20612061
// Emit the RHS first. __block variables need to have the rhs evaluated
20622062
// first, plus this should improve codegen a little.

Diff for: lib/CodeGen/CodeGenFunction.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -2224,8 +2224,8 @@ class CodeGenFunction : public CodeGenTypeCache {
22242224
/// Emit an l-value for an assignment (simple or compound) of complex type.
22252225
LValue EmitComplexAssignmentLValue(const BinaryOperator *E);
22262226
LValue EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E);
2227-
LValue EmitScalarCompooundAssignWithComplex(const CompoundAssignOperator *E,
2228-
llvm::Value *&Result);
2227+
LValue EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E,
2228+
llvm::Value *&Result);
22292229

22302230
// Note: only available for agg return types
22312231
LValue EmitBinaryOperatorLValue(const BinaryOperator *E);

0 commit comments

Comments
 (0)