ADT: remove MinGW32 and Cygwin OSType enum
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 9 Aug 2014 23:12:20 +0000 (23:12 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 9 Aug 2014 23:12:20 +0000 (23:12 +0000)
commitf96cd1aeb59f4ee980e370a62020a4ee3da903ec
tree815b40e6ffa4c0f370937a1daf255ff0d9b1bca0
parent21327ec3e953e55d12496d55c1a83dc020ec6e27
ADT: remove MinGW32 and Cygwin OSType enum

Remove the MinGW32 and Cygwin types from the OSType enumeration.  These values
are represented via environments of Windows.  It is a source of confusion and
needlessly clutters the code.  The cost of doing this is that we must sink the
check for them into the normalization code path along with the spelling.

Addresses PR20592.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215303 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Triple.h
lib/Support/Triple.cpp
unittests/ADT/TripleTest.cpp
unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h