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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173772 91177308-0d34-0410-b5e6-96231b3b80d8

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

index b86dff17fc217ec9caa7f46218221f2c290166ed..f798063bb391d4baf8d905d1eac9fa8b8d1867a7 100644 (file)
@@ -1,4 +1,4 @@
-//===-- ObjCARC.cpp --------------------------------------------------------===//
+//===-- ObjCARC.cpp -------------------------------------------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 2b90496018a6729d941ffabb435e2811ed7c9ceb..e062b665554afaf2a66b89674b16c871a94aa9cf 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 a9140fb6e73a8253fedf783594d0ccecb9543947..7d1768ab9270338b3484389b6232c7ed4a9a5b61 100644 (file)
@@ -532,6 +532,3 @@ bool ObjCARCContract::runOnFunction(Function &F) {
 
   return Changed;
 }
-
-/// @}
-///
index d86f08b74811355903f80eb423f843c1877e5169..ec449fd8e7477be03515b501c624bc3c2155adab 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.