From 924699845aa00558edb940e9d53d38591dc09a43 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 19 Apr 2011 23:55:20 +0000 Subject: ADT/Triple: Drop support for -osx style triples, we are going with -macosx instead. llvm-svn: 129836 --- llvm/lib/Support/Triple.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/Support/Triple.cpp') diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 38cb15a50e6..ad93121d02d 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/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")) -- cgit v1.2.3