diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-03-27 18:10:35 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-03-27 18:10:35 +0000 |
commit | b061720ddf88b4a1934dbbb1b874a424716cd7d7 (patch) | |
tree | 5b5b8db5e332edc6870c043d16aede52cdc46798 /tools/driver/cc1as_main.cpp | |
parent | 3655119ab1cb7b26926afeeb0f96cb21a21e410a (diff) |
[analyzer] Use evalBind for C++ new of scalar types.
These types will not have a CXXConstructExpr to do the initialization for
them. Previously we just used a simple call to ProgramState::bindLoc, but
that doesn't trigger proper checker callbacks (like pointer escape).
Found by Anton Yartsev.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/driver/cc1as_main.cpp')
0 files changed, 0 insertions, 0 deletions