Remove useless call to isOSCygMing()
authorReid Kleckner <reid@kleckner.net>
Wed, 4 Feb 2015 23:17:19 +0000 (23:17 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 4 Feb 2015 23:17:19 +0000 (23:17 +0000)
This used to do something when we modeled the Cygwin and MinGW
environments as distinct OSs, but now it is not needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228229 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/Triple.h

index 55c884f65f0bc4bb9ea158e150bec384c9c2cbd9..bc91188b864011e572b76abdbfe22bef59e792ab 100644 (file)
@@ -428,7 +428,7 @@ public:
 
   /// \brief Tests whether the OS is Windows.
   bool isOSWindows() const {
-    return getOS() == Triple::Win32 || isOSCygMing();
+    return getOS() == Triple::Win32;
   }
 
   /// \brief Tests whether the OS is NaCl (Native Client)