mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-25 03:55:25 +00:00
Add isOSFreeBSD triple test
For http://reviews.llvm.org/D3448 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208309 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
da704bf346
commit
9f0141da2c
@ -336,6 +336,10 @@ public:
|
||||
return isMacOSX() || isiOS();
|
||||
}
|
||||
|
||||
bool isOSFreeBSD() const {
|
||||
return getOS() == Triple::FreeBSD;
|
||||
}
|
||||
|
||||
bool isWindowsMSVCEnvironment() const {
|
||||
return getOS() == Triple::Win32 &&
|
||||
(getEnvironment() == Triple::UnknownEnvironment ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user