[llvm] r228229 - Remove useless call to isOSCygMing()
Reid Kleckner
reid at kleckner.net
Wed Feb 4 15:17:20 PST 2015
Author: rnk
Date: Wed Feb 4 17:17:19 2015
New Revision: 228229
URL: http://llvm.org/viewvc/llvm-project?rev=228229&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/ADT/Triple.h
Modified: llvm/trunk/include/llvm/ADT/Triple.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/Triple.h?rev=228229&r1=228228&r2=228229&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/Triple.h (original)
+++ llvm/trunk/include/llvm/ADT/Triple.h Wed Feb 4 17:17:19 2015
@@ -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)
More information about the llvm-commits
mailing list