aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-06 19:57:14 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-06 19:57:14 +0000
commit5cc86807bb5510a797c75bf58ee97c416ad4a3c0 (patch)
tree67fa848b2389e42d86df47e26d31ec11396e6710 /lib/Sema/SemaExpr.cpp
parent2e8a95dd3c6194f48e610104882195399fe5135e (diff)
Spelling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
-rw-r--r--lib/Sema/SemaExpr.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index 3ec2f4681d..e1da862b37 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/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,