diff options
| author | Anna Zaks <ganna@apple.com> | 2012-02-24 23:56:53 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2012-02-24 23:56:53 +0000 |
| commit | 7ac344a48a9384244f5bf3783f84afa9bd09daf8 (patch) | |
| tree | b5bcef978644ff0db85f744105431c94de9957ba /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 6073dcab38e4ed161684357d632baf0f12d70a6b (diff) | |
| download | llvm-7ac344a48a9384244f5bf3783f84afa9bd09daf8.zip llvm-7ac344a48a9384244f5bf3783f84afa9bd09daf8.tar.gz llvm-7ac344a48a9384244f5bf3783f84afa9bd09daf8.tar.bz2 | |
[analyzer] Malloc: reason about the ObjC messages and C++.
Assume none of the ObjC messages defined in system headers free memory,
except for the ones containing 'freeWhenDone' selector. Currently, just
assume that the region escapes to the messages with 'freeWhenDone'
(ideally, we want to treat it as 'free()').
For now, always assume that regions escape when passed to C++ methods.
llvm-svn: 151410
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
