commit | 1d6b2477e6c4a811ea2dfcd3fe6d65bbe02a9c08 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Tue Aug 28 21:20:34 2007 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Tue Aug 28 21:20:34 2007 +0000 |
tree | a7ed1704233fd04408d8923c67a44c1a5e4345cd | |
parent | d1ad6ae336bfad6062147f187b9973d47a3c355b [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