diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-01-24 21:35:00 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-01-24 21:35:00 +0000 |
commit | 12780c2d97bbe2839cc926729d456856346ee706 (patch) | |
tree | 162c2044760801f6d86e5c3c80fe08ba9584fd30 /llvm/lib/Transforms | |
parent | d4960d3eb1daa8957fbb14b12f681705138c9a8e (diff) | |
download | bcm5719-llvm-12780c2d97bbe2839cc926729d456856346ee706.tar.gz bcm5719-llvm-12780c2d97bbe2839cc926729d456856346ee706.zip |
Added comment to ObjCARC elaborating what is meant by the term 'Provenance' in 'Provenance Analysis'.
llvm-svn: 173374
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/ObjCARC.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/ObjCARC.cpp b/llvm/lib/Transforms/Scalar/ObjCARC.cpp index 45bc7ab6311..1c7acb0bf0c 100644 --- a/llvm/lib/Transforms/Scalar/ObjCARC.cpp +++ b/llvm/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; |