ADT/Triple: Drop support for -osx style triples, we are going with -macosx
[oota-llvm.git] / lib / Support / Triple.cpp
index 38cb15a50e666b5c3fafc614de7f728160bf97e2..ad93121d02d087cc1b3b728f89e3f68ce0d4bb9d 100644 (file)
@@ -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"))