diff options
author | Anton Yartsev <anton.yartsev@gmail.com> | 2013-04-05 02:25:02 +0000 |
---|---|---|
committer | Anton Yartsev <anton.yartsev@gmail.com> | 2013-04-05 02:25:02 +0000 |
commit | 418780f132a6d790b248ef91e1067c3c3dd31350 (patch) | |
tree | 09b861b9473d99885d0f7548a1e36a099b0e9429 /lib/CodeGen/CGExprConstant.cpp | |
parent | c84543123a12045f8a1415c1f05b647b70190f34 (diff) |
[analyzer] Check allocation family more precise.
The statement passed to isTrackedFamily() might be a user defined function calling malloc; in this case we got AF_NONE family for this function.
Now the allocation family is derived from Sym, that holds a family of a real allocator.
This commit is also a movement towards getting rid of tracking memory allocating by unknown means.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions