From cfa2c321661be12e355bc1943822664b3959ad04 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 4 Feb 2015 23:17:19 +0000 Subject: [PATCH] Remove useless call to isOSCygMing() 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index 55c884f65f0..bc91188b864 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -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)