From: Eli Friedman Date: Fri, 8 Feb 2008 01:24:30 +0000 (+0000) Subject: Fix indentation. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c4e5dbd9833763f2483e6b633662726b47ff63f;p=clang Fix indentation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46873 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Sema/SemaExpr.cpp b/Sema/SemaExpr.cpp index aba6f67902..9bd6c7e44c 100644 --- a/Sema/SemaExpr.cpp +++ b/Sema/SemaExpr.cpp @@ -1040,13 +1040,13 @@ QualType Sema::UsualArithmeticConversions(Expr *&lhsExpr, Expr *&rhsExpr, if (lhsComplexInt && rhsComplexInt) { if (Context.maxIntegerType(lhsComplexInt->getElementType(), - rhsComplexInt->getElementType()) == lhs) { - // convert the rhs - if (!isCompAssign) ImpCastExprToType(rhsExpr, lhs); - return lhs; + rhsComplexInt->getElementType()) == lhs) { + // convert the rhs + if (!isCompAssign) ImpCastExprToType(rhsExpr, lhs); + return lhs; } if (!isCompAssign) - ImpCastExprToType(lhsExpr, rhs); // convert the lhs + ImpCastExprToType(lhsExpr, rhs); // convert the lhs return rhs; } else if (lhsComplexInt && rhs->isIntegerType()) { // convert the rhs to the lhs complex type.