[llvm] r173772 - Fixed some whitespace/80+ violations. Also added a space after a namespace declaration.
Michael Gottesman
mgottesman at apple.com
Mon Jan 28 20:58:30 PST 2013
Author: mgottesman
Date: Mon Jan 28 22:58:30 2013
New Revision: 173772
URL: http://llvm.org/viewvc/llvm-project?rev=173772&view=rev
Log:
Fixed some whitespace/80+ violations. Also added a space after a namespace declaration.
Modified:
llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.cpp
llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.h
llvm/trunk/lib/Transforms/ObjCARC/ObjCARCContract.cpp
llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h
Modified: llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.cpp?rev=173772&r1=173771&r2=173772&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.cpp Mon Jan 28 22:58:30 2013
@@ -1,4 +1,4 @@
-//===-- ObjCARC.cpp --------------------------------------------------------===//
+//===-- ObjCARC.cpp -------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
Modified: llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.h?rev=173772&r1=173771&r2=173772&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.h (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.h Mon Jan 28 22:58:30 2013
@@ -293,7 +293,8 @@ static inline void EraseInstruction(Inst
/// \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 IsPotentialRetainable
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;
}
Modified: llvm/trunk/lib/Transforms/ObjCARC/ObjCARCContract.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ObjCARCContract.cpp?rev=173772&r1=173771&r2=173772&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCContract.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCContract.cpp Mon Jan 28 22:58:30 2013
@@ -532,6 +532,3 @@ bool ObjCARCContract::runOnFunction(Func
return Changed;
}
-
-/// @}
-///
Modified: llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h?rev=173772&r1=173771&r2=173772&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.h Mon Jan 28 22:58:30 2013
@@ -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.
More information about the llvm-commits
mailing list