summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-01-18 23:02:45 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-01-18 23:02:45 +0000
commitffd5f9ad601ec34013318e58f37127a5679347a3 (patch)
tree4d351abfa92623efb5a50f583b57f3a3efcb8391 /lib
parent8a8cef7156b0a3b7a1a5bcf646f049f51cfa5beb (diff)
downloadllvm-ffd5f9ad601ec34013318e58f37127a5679347a3.tar.gz
llvm-ffd5f9ad601ec34013318e58f37127a5679347a3.tar.bz2
llvm-ffd5f9ad601ec34013318e58f37127a5679347a3.tar.xz
Improved comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/ObjCARC.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/ObjCARC.cpp b/lib/Transforms/Scalar/ObjCARC.cpp
index 055f30c115..a63e0e0f44 100644
--- a/lib/Transforms/Scalar/ObjCARC.cpp
+++ b/lib/Transforms/Scalar/ObjCARC.cpp
@@ -578,8 +578,11 @@ static Value *GetObjCArg(Value *Inst) {
return StripPointerCastsAndObjCCalls(cast<CallInst>(Inst)->getArgOperand(0));
}
-/// \brief This is similar to AliasAnalysis's isIdentifiedObject, except that it
-/// uses special knowledge of ObjC conventions.
+/// \brief Return true if this value refers to a distinct and identifiable
+/// object.
+///
+/// This is similar to AliasAnalysis's isIdentifiedObject, except that it uses
+/// special knowledge of ObjC conventions.
static bool IsObjCIdentifiedObject(const Value *V) {
// Assume that call results and arguments have their own "provenance".
// Constants (including GlobalVariables) and Allocas are never