HomePhabricator

[analyzer] Use evalBind for C++ new of scalar types.

Authored by jordan_rose on Mar 27 2013, 11:10 AM.

Description

[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.

llvm-svn: 178160

Details

Committed
jordan_roseMar 27 2013, 11:10 AM
Parents
rGb365d4041563: tsan: print matched suppressions if print_suppressions=1 flag is provided
Branches
Unknown
Tags
Unknown