[llvm-commits] [llvm] r172864 - /llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
Michael Gottesman
mgottesman at apple.com
Fri Jan 18 15:02:45 PST 2013
Author: mgottesman
Date: Fri Jan 18 17:02:45 2013
New Revision: 172864
URL: http://llvm.org/viewvc/llvm-project?rev=172864&view=rev
Log:
Improved comment.
Modified:
llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp?rev=172864&r1=172863&r2=172864&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp Fri Jan 18 17:02:45 2013
@@ -578,8 +578,11 @@
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
More information about the llvm-commits
mailing list