]> granicus.if.org Git - clang/commit
size_t on Darwin AAPCS targets is "unsigned long". <rdar://problem/14136459>
authorBob Wilson <bob.wilson@apple.com>
Tue, 18 Jun 2013 05:36:04 +0000 (05:36 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 18 Jun 2013 05:36:04 +0000 (05:36 +0000)
commite4bce7a4250e3d646ceab372ebed71ca7e79cf28
tree1f9f4b5708c16e724310c5c88e562372e713163c
parent5c1a9f3bc0f11905974450ee7729ae3d556d316f
size_t on Darwin AAPCS targets is "unsigned long". <rdar://problem/14136459>

Some embedded targets use ARM's AAPCS with iOS header files that define size_t
as unsigned long, which conflicts with the usual AAPCS definition of size_t
as unsigned int.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184171 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Sema/arm-darwin-aapcs.cpp [new file with mode: 0644]