commit | 87cb5bed5060805a86509c297fae133816c1cd87 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Wed Feb 22 19:24:52 2012 +0000 |
committer | Anna Zaks <ganna@apple.com> | Wed Feb 22 19:24:52 2012 +0000 |
tree | d80ef0df8b49daad341eedf86dc64e3a3b2796aa | |
parent | 8a988c32b8ac18eb252ef4a58ed56f898255524d [diff] |
[analyzer] Malloc cleanup: - We should not evaluate strdup in the Malloc Checker, it's the job of CString checker, so just update the RefState to reflect allocated memory. - Refactor to reduce LOC: remove some wrapper auxiliary functions, make all functions return the state and add the transition in one place (instead of in each auxiliary function). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151188 91177308-0d34-0410-b5e6-96231b3b80d8