diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2018-01-18 00:50:19 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2018-01-18 00:50:19 +0000 |
commit | 1c64e617f57297e53abc3d48bedb5a4e3375f644 (patch) | |
tree | ce44fbc7aea2a9738668de9906a1e29496f42c55 /llvm/lib/CodeGen/TargetPassConfig.cpp | |
parent | 0c79eab03d5bd5b74ee6d30d663bdf4a07764a04 (diff) | |
download | bcm5719-llvm-1c64e617f57297e53abc3d48bedb5a4e3375f644.tar.gz bcm5719-llvm-1c64e617f57297e53abc3d48bedb5a4e3375f644.zip |
[analyzer] operator new: Add a new ProgramPoint for check::NewAllocator.
Add PostAllocatorCall program point to represent the moment in the analysis
between the operator new() call and the constructor call. Pointer cast from
"void *" to the correct object pointer type has already happened by this point.
The new program point, unlike the previously used PostImplicitCall, contains a
reference to the new-expression, which allows adding path diagnostics over it.
Differential Revision: https://reviews.llvm.org/D41800
rdar://problem/12180598
llvm-svn: 322796
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions