summaryrefslogtreecommitdiffstats
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
commitb9081f44901c7a6ee6c96cfec268590870531e0a (patch)
treefb41dfd62f523be2a584fbe73128fd253c1fac77
parent7ef81a4f9863ce7caad72d3c5390efbc1e9f5e70 (diff)
downloadbcm5719-llvm-b9081f44901c7a6ee6c96cfec268590870531e0a.tar.gz
bcm5719-llvm-b9081f44901c7a6ee6c96cfec268590870531e0a.zip
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. llvm-svn: 209068
-rw-r--r--clang/lib/CodeGen/TargetInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index 9e5849328b9..7d2d7f706ac 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/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,
OpenPOWER on IntegriCloud