commit | e571578002fc3d4ebb654d2f31d2446d7cc1831d | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Sat Feb 25 02:09:09 2012 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Sat Feb 25 02:09:09 2012 +0000 |
tree | 4b2c379026a52686063c89fe469717d36c0d529d | |
parent | 63787f0343ab3546a5346a833e2f7485779f17e2 [diff] |
RetainCountChecker: don't adjust the retain count when analyzing a ReturnStmt unless we are in the top-level call frame. We can do more later, but this makes the checker self-consistent (and fixes a crash). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151426 91177308-0d34-0410-b5e6-96231b3b80d8