diff options
author | Anna Zaks <ganna@apple.com> | 2012-02-22 19:24:52 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-02-22 19:24:52 +0000 |
commit | 87cb5bed5060805a86509c297fae133816c1cd87 (patch) | |
tree | d80ef0df8b49daad341eedf86dc64e3a3b2796aa /lib/CodeGen/CodeGenModule.cpp | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions