[cfe-commits] r139165 - /cfe/trunk/lib/Sema/SemaExpr.cpp
Benjamin Kramer
benny.kra at googlemail.com
Tue Sep 6 12:57:14 PDT 2011
Author: d0k
Date: Tue Sep 6 14:57:14 2011
New Revision: 139165
URL: http://llvm.org/viewvc/llvm-project?rev=139165&view=rev
Log:
Spelling.
Modified:
cfe/trunk/lib/Sema/SemaExpr.cpp
Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=139165&r1=139164&r2=139165&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Tue Sep 6 14:57:14 2011
@@ -740,13 +740,13 @@
}
/// \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 @@
// 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,
More information about the cfe-commits
mailing list