summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-17 12:24:17 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-17 12:24:17 +0000
commit4c14a5cc2cdf7ca9347110f7534cd50d1c9f7e6e (patch)
tree411778ff148f88f03d03ed89f6c2d9c7a2c9f0c3 /llvm/lib/Support/Triple.cpp
parent0544fe728784b457812d2bf7266a55f2f5f71943 (diff)
downloadbcm5719-llvm-4c14a5cc2cdf7ca9347110f7534cd50d1c9f7e6e.tar.gz
bcm5719-llvm-4c14a5cc2cdf7ca9347110f7534cd50d1c9f7e6e.zip
Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 generally.
No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32. In llvm side, i686 and x64 can be treated as similar way. llvm-svn: 125747
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r--llvm/lib/Support/Triple.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index d4a7dec8bee..36edf6eefa7 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -101,7 +101,6 @@ const char *Triple::getOSTypeName(OSType Kind) {
case Linux: return "linux";
case Lv2: return "lv2";
case MinGW32: return "mingw32";
- case MinGW64: return "mingw64";
case NetBSD: return "netbsd";
case OpenBSD: return "openbsd";
case Psp: return "psp";
@@ -318,8 +317,6 @@ Triple::OSType Triple::ParseOS(StringRef OSName) {
return Lv2;
else if (OSName.startswith("mingw32"))
return MinGW32;
- else if (OSName.startswith("mingw64"))
- return MinGW64;
else if (OSName.startswith("netbsd"))
return NetBSD;
else if (OSName.startswith("openbsd"))
OpenPOWER on IntegriCloud