]> granicus.if.org Git - clang/commit
Set the type of ptrdiff_t to signed on NVPTX targets
authorEli Bendersky <eliben@google.com>
Wed, 1 Apr 2015 20:29:18 +0000 (20:29 +0000)
committerEli Bendersky <eliben@google.com>
Wed, 1 Apr 2015 20:29:18 +0000 (20:29 +0000)
commit7ce861f25762f2a55965e9afbc8f4edefec14de4
tree5639df4f8732bbe2ff3f850754674687cde72003
parentbc350adc1e61fa244bcf0fe872cab6a7c6d081aa
Set the type of ptrdiff_t to signed on NVPTX targets

It was unsigned before, which is unlike any other target and also doesn't make
much sense.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233836 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Preprocessor/init.c