]> granicus.if.org Git - clang/commitdiff
Fix indentation.
authorEli Friedman <eli.friedman@gmail.com>
Fri, 8 Feb 2008 01:24:30 +0000 (01:24 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 8 Feb 2008 01:24:30 +0000 (01:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46873 91177308-0d34-0410-b5e6-96231b3b80d8

Sema/SemaExpr.cpp

index aba6f6790278c76d6b92a359dbdb49b99b781a66..9bd6c7e44c76be7893276afabee4a720d7a47121 100644 (file)
@@ -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.