]> granicus.if.org Git - clang/commit
Add a PostVisitBlockExpr() method to RetainReleaseChecker to query for
authorTed Kremenek <kremenek@apple.com>
Thu, 26 Nov 2009 02:38:19 +0000 (02:38 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 26 Nov 2009 02:38:19 +0000 (02:38 +0000)
commit38cc6bca5c172e2888c86fb0bef6883db0692cf6
tree6a4d2c7cf1d6a631e5ba099880ab38ddb87bb034
parenta6d73af984d9633cd3b412f01b35edf7463dd31c
Add a PostVisitBlockExpr() method to RetainReleaseChecker to query for
the set of variables "captured" by a block.  Until the analysis gets
more sophisticated, for now we stop the retain count tracking of any
objects (transitively) referenced by these variables.

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