aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-04-19 23:55:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-04-19 23:55:20 +0000
commit398a5ca9cdf6256775904d957d6c40b63d45636c (patch)
tree8f215b6c049f0dc89f3ebde7f80c86dbf3901f77 /lib/Support
parent1af394766fe4e725d5af2fe82c2ad9cfcbc7dd34 (diff)
downloadexternal_llvm-398a5ca9cdf6256775904d957d6c40b63d45636c.zip
external_llvm-398a5ca9cdf6256775904d957d6c40b63d45636c.tar.gz
external_llvm-398a5ca9cdf6256775904d957d6c40b63d45636c.tar.bz2
ADT/Triple: Drop support for -osx style triples, we are going with -macosx
instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Triple.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index 38cb15a..ad93121 100644
--- a/lib/Support/Triple.cpp
+++ b/lib/Support/Triple.cpp
@@ -105,7 +105,6 @@ const char *Triple::getOSTypeName(OSType Kind) {
case MacOSX: return "macosx";
case MinGW32: return "mingw32";
case NetBSD: return "netbsd";
- case OSX: return "osx";
case OpenBSD: return "openbsd";
case Psp: return "psp";
case Solaris: return "solaris";
@@ -329,8 +328,6 @@ Triple::OSType Triple::ParseOS(StringRef OSName) {
return MinGW32;
else if (OSName.startswith("netbsd"))
return NetBSD;
- else if (OSName.startswith("osx"))
- return OSX;
else if (OSName.startswith("openbsd"))
return OpenBSD;
else if (OSName.startswith("psp"))