projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26bfda9
)
Remove useless call to isOSCygMing()
author
Reid Kleckner
<reid@kleckner.net>
Wed, 4 Feb 2015 23:17:19 +0000
(23:17 +0000)
committer
Reid 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
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/Triple.h
b/include/llvm/ADT/Triple.h
index 55c884f65f0bc4bb9ea158e150bec384c9c2cbd9..bc91188b864011e572b76abdbfe22bef59e792ab 100644
(file)
--- 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)