]> granicus.if.org Git - clang/commitdiff
CodeGen: remove MinGW and Cygwin legacy entries
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 17 May 2014 15:46:59 +0000 (15:46 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 17 May 2014 15:46:59 +0000 (15:46 +0000)
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

lib/CodeGen/TargetInfo.cpp

index 9e5849328b9a63dc18e4b0bce7d3b963162e266c..7d2d7f706ac1fe77118b364f4115db157faf01bb 100644 (file)
@@ -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,