commit | ce94049b69f75b44c18584fe79cd238978b6b0d5 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Sep 25 04:25:58 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Sep 25 04:25:58 2009 +0000 |
tree | e7075c52e30004d24fb813d4847b32e6a1d9f76d | |
parent | d52025366666647e3f876e3615200dcf8c80279c [diff] |
Fix checking for a null pointer constant when the expression itself is value-dependent. Audit (and fixed) all calls to Expr::isNullPointerConstant() to provide the correct behavior with value-dependent expressions. Fixes PR5041 and a crash in libstdc++ <locale>. In the same vein, properly compute value- and type-dependence for ChooseExpr. Fixes PR4996. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82748 91177308-0d34-0410-b5e6-96231b3b80d8