aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-22 18:58:31 +0000
committerChris Lattner <sabre@nondot.org>2009-08-22 18:58:31 +0000
commit6365e3e22bcec4b95c5b1ed47d501134b375a75a (patch)
tree5943cb69227e293486aad9fe1d7008a8c281db40 /lib/Frontend/PCHWriter.cpp
parente7925a075f110ab21afeae084670a155dea568e3 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriter.cpp')
0 files changed, 0 insertions, 0 deletions