[cfe-commits] r133345 - /cfe/trunk/lib/CodeGen/CGExpr.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat Jun 18 03:34:01 PDT 2011
Author: d0k
Date: Sat Jun 18 05:34:00 2011
New Revision: 133345
URL: http://llvm.org/viewvc/llvm-project?rev=133345&view=rev
Log:
80 cols.
Modified:
cfe/trunk/lib/CodeGen/CGExpr.cpp
Modified: cfe/trunk/lib/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExpr.cpp?rev=133345&r1=133344&r2=133345&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExpr.cpp Sat Jun 18 05:34:00 2011
@@ -2108,15 +2108,15 @@
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 @@
case Qualifiers::OCL_Strong:
EmitARCRelease(Builder.CreateLoad(BaseValue,
- PseudoDtor->getDestroyedType().isVolatileQualified()),
+ PseudoDtor->getDestroyedType().isVolatileQualified()),
/*precise*/ true);
break;
More information about the cfe-commits
mailing list