diff options
author | Steve Naroff <snaroff@apple.com> | 2007-08-28 21:20:34 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-08-28 21:20:34 +0000 |
commit | 7269f2d6cbe8c876aa5b007c35e4a3c3fed72cbd (patch) | |
tree | a7ed1704233fd04408d8923c67a44c1a5e4345cd /CodeGen/CodeGenTypes.cpp | |
parent | 5912a3544e438a92832b8c52c13f48d4f54795dc (diff) |
Teach Expr::isNullPointerConstant() about ImplicitCastExpr's.
This fixes the following (recent) regression noticed by Keith Bauer (thanks!).
void func(void *a);
main() {
void *p;
p = 0;
func(0);
}
...which now works as you would expect.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenTypes.cpp')
0 files changed, 0 insertions, 0 deletions