Fixed some whitespace/80+ violations. Also added a space after a namespace declaration.
authorMichael Gottesman <mgottesman@apple.com>
Tue, 29 Jan 2013 04:58:30 +0000 (04:58 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Tue, 29 Jan 2013 04:58:30 +0000 (04:58 +0000)
llvm-svn: 173772

llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
llvm/lib/Transforms/ObjCARC/ObjCARC.h
llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
llvm/lib/Transforms/ObjCARC/ProvenanceAnalysis.h

index b86dff1..f798063 100644 (file)
@@ -1,4 +1,4 @@
-//===-- ObjCARC.cpp --------------------------------------------------------===//
+//===-- ObjCARC.cpp -------------------------------------------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 2b90496..e062b66 100644 (file)
@@ -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;
 }
 
index a9140fb..7d1768a 100644 (file)
@@ -532,6 +532,3 @@ bool ObjCARCContract::runOnFunction(Function &F) {
 
   return Changed;
 }
-
-/// @}
-///
index d86f08b..ec449fd 100644 (file)
@@ -36,6 +36,7 @@ namespace llvm {
 
 namespace llvm {
 namespace objcarc {
+
 /// \brief This is similar to BasicAliasAnalysis, and it uses many of the same
 /// techniques, except it uses special ObjC-specific reasoning about pointer
 /// relationships.