aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/ObjCARC/ObjCARC.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/ObjCARC/ObjCARC.h')
-rw-r--r--lib/Transforms/ObjCARC/ObjCARC.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARC.h b/lib/Transforms/ObjCARC/ObjCARC.h
index 2b90496..e062b66 100644
--- a/lib/Transforms/ObjCARC/ObjCARC.h
+++ b/lib/Transforms/ObjCARC/ObjCARC.h
@@ -293,7 +293,8 @@ static inline void EraseInstruction(Instruction *CI) {
/// \brief Test whether the given value is possible a retainable object pointer.
static inline bool IsPotentialRetainableObjPtr(const Value *Op) {
- // Pointers to static or stack storage are not valid retainable object pointers.
+ // Pointers to static or stack storage are not valid retainable object
+ // pointers.
if (isa<Constant>(Op) || isa<AllocaInst>(Op))
return false;
// Special arguments can not be a valid retainable object pointer.
@@ -310,7 +311,8 @@ static inline bool IsPotentialRetainableObjPtr(const Value *Op) {
PointerType *Ty = dyn_cast<PointerType>(Op->getType());
if (!Ty)
return false;
- // Conservatively assume anything else is a potential retainable object pointer.
+ // Conservatively assume anything else is a potential retainable object
+ // pointer.
return true;
}