diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2013-05-02 19:51:20 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2013-05-02 19:51:20 +0000 |
| commit | c76d7e3d96dc053865a7f334c41727346d67ec78 (patch) | |
| tree | 0a268e7a99d14773b2d8efe336cbf362d4acd662 /libcxx/test | |
| parent | f3805157536d143210ec1822baa5733bb2c5beff (diff) | |
| download | bcm5719-llvm-c76d7e3d96dc053865a7f334c41727346d67ec78.tar.gz bcm5719-llvm-c76d7e3d96dc053865a7f334c41727346d67ec78.zip | |
[analyzer] Don't try to evaluate MaterializeTemporaryExpr as a constant.
...and don't consider '0' to be a null pointer constant if it's the
initializer for a float!
Apparently null pointer constant evaluation looks through both
MaterializeTemporaryExpr and ImplicitCastExpr, so we have to be more
careful about types in the callers. For RegionStore this just means giving
up a little more; for ExprEngine this means handling the
MaterializeTemporaryExpr case explicitly.
Follow-up to r180894.
llvm-svn: 180944
Diffstat (limited to 'libcxx/test')
0 files changed, 0 insertions, 0 deletions

