]> granicus.if.org Git - clang/commit
[analyzer] Ignore OS X 10.8's annotations for NSMakeCollectable.
authorJordan Rose <jordan_rose@apple.com>
Mon, 6 Aug 2012 21:28:02 +0000 (21:28 +0000)
committerJordan Rose <jordan_rose@apple.com>
Mon, 6 Aug 2012 21:28:02 +0000 (21:28 +0000)
commit15d18e15384c9e992bd294fc56f4fdf770763d71
treefa1842c379d23fe434ba3407437e35749aacca7d
parente27a08aa814cb2fe9367163edd612c90aad57789
[analyzer] Ignore OS X 10.8's annotations for NSMakeCollectable.

The frameworks correctly use the 'cf_consumed' and 'ns_returns_retained'
attributes for NSMakeCollectable, but we can model the behavior under
garbage collection more precisely than that.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161349 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp