diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-22 18:58:31 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-22 18:58:31 +0000 |
| commit | f8344dbfdd0a291ee81fa535adead881a87b24b9 (patch) | |
| tree | 13cd7ec7ab59b346fe0d400a0fdf1fa4fca623ea /llvm/lib | |
| parent | 09395957113e2ea3aae4bdca53a22f3b08f9b4cf (diff) | |
| download | bcm5719-llvm-f8344dbfdd0a291ee81fa535adead881a87b24b9.tar.gz bcm5719-llvm-f8344dbfdd0a291ee81fa535adead881a87b24b9.zip | |
tweak some pointer sema checking stuff (which was added to implement PR4175) to
avoid emitting a warning on "someptr > 0". This is obviously questionable (they
could use != instead) but is reasonable, and the warning "ordered comparison
between pointer and integer" didn't make a ton of sense because 0 is a valid
null pointer constant.
Just silence the warning in this case, it is unlikely to indicate a bug.
llvm-svn: 79743
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

