]> granicus.if.org Git - clang/commitdiff
80 cols.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 18 Jun 2011 10:34:00 +0000 (10:34 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 18 Jun 2011 10:34:00 +0000 (10:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133345 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGExpr.cpp

index 3e845d2cdca1074ee5097d29c29a2d52311954d7..0e68c3e2f341aa9119ceedd66f7261791f859183 100644 (file)
@@ -2108,15 +2108,15 @@ RValue CodeGenFunction::EmitCallExpr(const CallExpr *E,
         DestroyedType->isObjCLifetimeType() &&
         (DestroyedType.getObjCLifetime() == Qualifiers::OCL_Strong ||
          DestroyedType.getObjCLifetime() == Qualifiers::OCL_Weak)) {
-          // Automatic Reference Counting:
-          //   If the pseudo-expression names a retainable object with weak or strong
-          //   lifetime, the object shall be released.
+      // Automatic Reference Counting:
+      //   If the pseudo-expression names a retainable object with weak or
+      //   strong lifetime, the object shall be released.
       bool isNonGC = false;
       Expr *BaseExpr = PseudoDtor->getBase();
       llvm::Value *BaseValue = NULL;
       Qualifiers BaseQuals;
       
-      // If this is s.x, emit s as an lvalue.  If it is s->x, emit s as a scalar.
+      // If this is s.x, emit s as an lvalue. If it is s->x, emit s as a scalar.
       if (PseudoDtor->isArrow()) {
         BaseValue = EmitScalarExpr(BaseExpr);
         const PointerType *PTy = BaseExpr->getType()->getAs<PointerType>();
@@ -2138,7 +2138,7 @@ RValue CodeGenFunction::EmitCallExpr(const CallExpr *E,
         
       case Qualifiers::OCL_Strong:
         EmitARCRelease(Builder.CreateLoad(BaseValue, 
-                          PseudoDtor->getDestroyedType().isVolatileQualified()), 
+                          PseudoDtor->getDestroyedType().isVolatileQualified()),
                        /*precise*/ true);
         break;