Fixed some whitespace/80+ violations. Also added a space after a namespace declaration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173772 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Gottesman 2013-01-29 04:58:30 +00:00
parent 67866101a9
commit 3dcfdab267
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
//===-- ObjCARC.cpp --------------------------------------------------------===//
//===-- ObjCARC.cpp -------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//

View 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;
}

View File

@ -532,6 +532,3 @@ bool ObjCARCContract::runOnFunction(Function &F) {
return Changed;
}
/// @}
///

View 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.