diff options
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/ObjCARC/ObjCARC.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/ObjCARC/ObjCARC.h | 6 | ||||
-rw-r--r-- | lib/Transforms/ObjCARC/ObjCARCContract.cpp | 3 | ||||
-rw-r--r-- | lib/Transforms/ObjCARC/ProvenanceAnalysis.h | 1 |
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARC.cpp b/lib/Transforms/ObjCARC/ObjCARC.cpp index b86dff17fc..f798063bb3 100644 --- a/lib/Transforms/ObjCARC/ObjCARC.cpp +++ b/lib/Transforms/ObjCARC/ObjCARC.cpp @@ -1,4 +1,4 @@ -//===-- ObjCARC.cpp --------------------------------------------------------===// +//===-- ObjCARC.cpp -------------------------------------------------------===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Transforms/ObjCARC/ObjCARC.h b/lib/Transforms/ObjCARC/ObjCARC.h index 2b90496018..e062b66555 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; } diff --git a/lib/Transforms/ObjCARC/ObjCARCContract.cpp b/lib/Transforms/ObjCARC/ObjCARCContract.cpp index a9140fb6e7..7d1768ab92 100644 --- a/lib/Transforms/ObjCARC/ObjCARCContract.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCContract.cpp @@ -532,6 +532,3 @@ bool ObjCARCContract::runOnFunction(Function &F) { return Changed; } - -/// @} -/// diff --git a/lib/Transforms/ObjCARC/ProvenanceAnalysis.h b/lib/Transforms/ObjCARC/ProvenanceAnalysis.h index d86f08b748..ec449fd8e7 100644 --- a/lib/Transforms/ObjCARC/ProvenanceAnalysis.h +++ b/lib/Transforms/ObjCARC/ProvenanceAnalysis.h @@ -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. |