diff options
author | Steve Naroff <snaroff@apple.com> | 2007-08-29 00:00:02 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-08-29 00:00:02 +0000 |
commit | 19a6ebd216041c6f466ea18a8b1bbdd9e7ea1649 (patch) | |
tree | 54d1f5690da2f591c161bd7400d68203d776eeb2 /CodeGen/CodeGenTypes.cpp | |
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
Diffstat (limited to 'CodeGen/CodeGenTypes.cpp')
0 files changed, 0 insertions, 0 deletions