commit | 19a6ebd216041c6f466ea18a8b1bbdd9e7ea1649 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Wed Aug 29 00:00:02 2007 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Wed Aug 29 00:00:02 2007 +0000 |
tree | 54d1f5690da2f591c161bd7400d68203d776eeb2 | |
parent | b291ab60474e8f02f5d1245f77d3af31bcd4821c [diff] |
Re-teach Expr::isNullPointerConstant() about ImplicitCastExpr:-) This fixes the following bug submitted by Neil... const char *f (void) { return 0; } ...which would incorrectly warn with -pedantic enabled. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41559 91177308-0d34-0410-b5e6-96231b3b80d8