summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-02-19 19:50:52 +0000
committerChris Bieneman <beanz@apple.com>2015-02-19 19:50:52 +0000
commita747e5935d64a2ccdb8a68da69b736b5a17604d4 (patch)
treecb857fc1c3860bad9cd689272fe34077ffbc001f /clang/lib/CodeGen/CodeGenFunction.cpp
parent745c4710db21ac63c5f96dc669b7eb7001b6377e (diff)
downloadbcm5719-llvm-a747e5935d64a2ccdb8a68da69b736b5a17604d4.tar.gz
bcm5719-llvm-a747e5935d64a2ccdb8a68da69b736b5a17604d4.zip
Checking if TARGET_OS_IPHONE is defined isn't good enough for 10.7 and earlier.
Older versions of the TargetConditionals header always defined TARGET_OS_IPHONE to something (0 or 1), so we need to test not only for the existence but also if it is 1. This resolves PR22631. llvm-svn: 229904
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud