mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
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
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user