summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/ObjCRuntime.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2017-04-15 05:44:27 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2017-04-15 05:44:27 +0000
commitf578022ce27acd2234ee75ad8706ba992ea24a59 (patch)
treeda10467b5f92c5ddf45dae16e59840a2f470db71 /include/clang/Basic/ObjCRuntime.h
parentf79091e91f984b356f747954ef470951690fdab7 (diff)
Revert "[ObjC] Use empty Objective-C collection literal constants when"
This reverts commit r300389. There were mistakes in the changes I made to CodeGen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300391 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/ObjCRuntime.h')
-rw-r--r--include/clang/Basic/ObjCRuntime.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/clang/Basic/ObjCRuntime.h b/include/clang/Basic/ObjCRuntime.h
index 8dc259c7ab..78fc899882 100644
--- a/include/clang/Basic/ObjCRuntime.h
+++ b/include/clang/Basic/ObjCRuntime.h
@@ -326,20 +326,6 @@ public:
}
}
- /// Are the empty collection symbols available?
- bool hasEmptyCollections() const {
- switch (getKind()) {
- default:
- return false;
- case MacOSX:
- return getVersion() >= VersionTuple(10, 11);
- case iOS:
- return getVersion() >= VersionTuple(9);
- case WatchOS:
- return getVersion() >= VersionTuple(2);
- }
- }
-
/// \brief Try to parse an Objective-C runtime specification from the given
/// string.
///