commit | f902d097bf7ee24d27e34f351e7c3d66a9db538e | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Mon Aug 20 20:01:15 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Mon Aug 20 20:01:15 2012 +0000 |
tree | 45c54ae171336999d165678b166dbdb45217d6b1 | |
parent | d7403a70176a50b8f71cb4e2e18ac6ed49fe357e [diff] |
[analyzer] Add a test for "release and stop tracking" behavior. This is used to handle functions and methods that consume an argument (annotated with the ns_consumed or cf_consumed attribute), but then the argument's retain count may be further modified in a callback. We want to warn about over-releasing, but we can't really track the object afterwards. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162221 91177308-0d34-0410-b5e6-96231b3b80d8