]> granicus.if.org Git - clang/commit
[analyzer] RetainCountChecker: don't track through xpc_connection_set_context.
authorJordan Rose <jordan_rose@apple.com>
Thu, 2 May 2013 01:51:40 +0000 (01:51 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 2 May 2013 01:51:40 +0000 (01:51 +0000)
commit8a729b4b20796bc0ca25e8d86d57c0cd0c5e40d4
tree7c46fa3414acf76a9fda45cf43f68de6016e6316
parent96d63a2731ec7c6759f37c4c8f507681088a0661
[analyzer] RetainCountChecker: don't track through xpc_connection_set_context.

It is unfortunate that we have to mark these exceptions in multiple places.
This was already in CallEvent. I suppose it does let us be more precise
about saying /which/ arguments have their retain counts invalidated -- the
connection's is still valid even though the context object's isn't -- but
we're not tracking the retain count of XPC objects anyway.

<rdar://problem/13783514>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180904 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
test/Analysis/retain-release.m