aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-01-24 21:35:00 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-01-24 21:35:00 +0000
commit7c24e61a2b9c372f0077b8887e7cca8dd49c933d (patch)
tree4e8076e00bdaf1fc7e3d27e6e21aa95c5b272b07 /lib/Transforms
parent78e10573710a2f2623dfd5a2cc66855814b7371f (diff)
downloadexternal_llvm-7c24e61a2b9c372f0077b8887e7cca8dd49c933d.zip
external_llvm-7c24e61a2b9c372f0077b8887e7cca8dd49c933d.tar.gz
external_llvm-7c24e61a2b9c372f0077b8887e7cca8dd49c933d.tar.bz2
Added comment to ObjCARC elaborating what is meant by the term 'Provenance' in 'Provenance Analysis'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/ObjCARC.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/ObjCARC.cpp b/lib/Transforms/Scalar/ObjCARC.cpp
index 45bc7ab..1c7acb0 100644
--- a/lib/Transforms/Scalar/ObjCARC.cpp
+++ b/lib/Transforms/Scalar/ObjCARC.cpp
@@ -1222,6 +1222,12 @@ namespace {
/// \brief This is similar to BasicAliasAnalysis, and it uses many of the same
/// techniques, except it uses special ObjC-specific reasoning about pointer
/// relationships.
+ ///
+ /// In this context ``Provenance'' is defined as the history of an object's
+ /// ownership. Thus ``Provenance Analysis'' is defined by using the notion of
+ /// an ``independent provenance source'' of a pointer to determine whether or
+ /// not two pointers have the same provenance source and thus could
+ /// potentially be related.
class ProvenanceAnalysis {
AliasAnalysis *AA;