summaryrefslogtreecommitdiff
path: root/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-05-17 15:46:59 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-05-17 15:46:59 +0000
commitc6bbecbc51127bbd3a01ee573acc14eef10ebf40 (patch)
treea20a21642caf616dba11c4f9078fda5755d5e802 /lib/CodeGen/TargetInfo.cpp
parent9db67864c522312bf596a17cd260d8567af669d1 (diff)
downloadclang-c6bbecbc51127bbd3a01ee573acc14eef10ebf40.tar.gz
clang-c6bbecbc51127bbd3a01ee573acc14eef10ebf40.tar.bz2
clang-c6bbecbc51127bbd3a01ee573acc14eef10ebf40.tar.xz
CodeGen: remove MinGW and Cygwin legacy entries
These are now treated as environments. Remove references to these enumeration values in order to clean up the unused enumeration entries in LLVM. The target normalisation prior to tool invocation should ensure that the old values continue to function properly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r--lib/CodeGen/TargetInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp
index 9e5849328b..7d2d7f706a 100644
--- a/lib/CodeGen/TargetInfo.cpp
+++ b/lib/CodeGen/TargetInfo.cpp
@@ -6760,8 +6760,6 @@ const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() {
switch (Triple.getOS()) {
case llvm::Triple::Win32:
- case llvm::Triple::MinGW32:
- case llvm::Triple::Cygwin:
return *(TheTargetCodeGenInfo = new WinX86_64TargetCodeGenInfo(Types));
case llvm::Triple::NaCl:
return *(TheTargetCodeGenInfo = new NaClX86_64TargetCodeGenInfo(Types,