diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-10-15 20:37:01 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-10-15 20:37:01 +0000 |
commit | dc0d4e251b4c41b75c5d93f1866a8a0952b1c6ae (patch) | |
tree | e90e74437a1f58bbe7be67ba561c011f4429d074 /include/clang/Basic/ObjCRuntime.h | |
parent | 0d5833921cc728bc1d2e45fbaf7b3e11cddbf99d (diff) | |
download | clang-dc0d4e251b4c41b75c5d93f1866a8a0952b1c6ae.tar.gz clang-dc0d4e251b4c41b75c5d93f1866a8a0952b1c6ae.tar.bz2 clang-dc0d4e251b4c41b75c5d93f1866a8a0952b1c6ae.tar.xz |
Revert r164907 and r164902 (+ follow-ups). They broke building on 10.6.
See PR14013.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/ObjCRuntime.h')
-rw-r--r-- | include/clang/Basic/ObjCRuntime.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/include/clang/Basic/ObjCRuntime.h b/include/clang/Basic/ObjCRuntime.h index d543b76715..2ca421bb57 100644 --- a/include/clang/Basic/ObjCRuntime.h +++ b/include/clang/Basic/ObjCRuntime.h @@ -157,19 +157,6 @@ public: llvm_unreachable("bad kind"); } - /// \brief Does this runtime supports optimized setter entrypoints? - bool hasOptimizedSetter() const { - switch (getKind()) { - case MacOSX: - return getVersion() >= VersionTuple(10, 8); - case iOS: - return (getVersion() >= VersionTuple(6)); - - default: - return false; - } - } - /// Does this runtime allow the use of __weak? bool allowsWeak() const { return hasNativeWeak(); @@ -190,7 +177,7 @@ public: switch (getKind()) { case FragileMacOSX: return false; case MacOSX: return getVersion() >= VersionTuple(10, 8); - case iOS: return getVersion() >= VersionTuple(6); + case iOS: return false; // This is really a lie, because some implementations and versions // of the runtime do not support ARC. Probably -fgnu-runtime |