diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-06 19:57:14 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-06 19:57:14 +0000 |
| commit | 499c68b5f631424f4aa3d2bf4dea77935796e178 (patch) | |
| tree | b060685a34816ba84e2186eacdd39cad2ecfdf69 /clang/lib/Sema | |
| parent | 9a52fbb2d0fb6a369ce0389ffb0943406bd30c43 (diff) | |
| download | bcm5719-llvm-499c68b5f631424f4aa3d2bf4dea77935796e178.tar.gz bcm5719-llvm-499c68b5f631424f4aa3d2bf4dea77935796e178.zip | |
Spelling.
llvm-svn: 139165
Diffstat (limited to 'clang/lib/Sema')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 3ec2f4681de..e1da862b378 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -740,13 +740,13 @@ static QualType handleFloatConversion(Sema &S, ExprResult &LHS, } /// \brief Handle conversions with GCC complex int extension. Helper function -/// of UsualArithmeticConverions() +/// of UsualArithmeticConversions() // FIXME: if the operands are (int, _Complex long), we currently // don't promote the complex. Also, signedness? -static QualType handleComplexIntConvsersion(Sema &S, ExprResult &LHS, - ExprResult &RHS, QualType LHSType, - QualType RHSType, - bool isCompAssign) { +static QualType handleComplexIntConversion(Sema &S, ExprResult &LHS, + ExprResult &RHS, QualType LHSType, + QualType RHSType, + bool isCompAssign) { const ComplexType *LHSComplexInt = LHSType->getAsComplexIntegerType(); const ComplexType *RHSComplexInt = RHSType->getAsComplexIntegerType(); @@ -890,8 +890,8 @@ QualType Sema::UsualArithmeticConversions(ExprResult &LHS, ExprResult &RHS, // Handle GCC complex int extension. if (LHSType->isComplexIntegerType() || RHSType->isComplexIntegerType()) - return handleComplexIntConvsersion(*this, LHS, RHS, LHSType, RHSType, - isCompAssign); + return handleComplexIntConversion(*this, LHS, RHS, LHSType, RHSType, + isCompAssign); // Finally, we have two differing integer types. return handleIntegerConversion(*this, LHS, RHS, LHSType, RHSType, |

