[cfe-commits] r46873 - /cfe/trunk/Sema/SemaExpr.cpp

Eli Friedman eli.friedman at gmail.com
Thu Feb 7 17:24:30 PST 2008


Author: efriedma
Date: Thu Feb  7 19:24:30 2008
New Revision: 46873

URL: http://llvm.org/viewvc/llvm-project?rev=46873&view=rev
Log:
Fix indentation.

Modified:
    cfe/trunk/Sema/SemaExpr.cpp

Modified: cfe/trunk/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/SemaExpr.cpp?rev=46873&r1=46872&r2=46873&view=diff

==============================================================================
--- cfe/trunk/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/Sema/SemaExpr.cpp Thu Feb  7 19:24:30 2008
@@ -1040,13 +1040,13 @@
 
     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.





More information about the cfe-commits mailing list