1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Add isOSFreeBSD triple test

For http://reviews.llvm.org/D3448

llvm-svn: 208309
This commit is contained in:
Ed Maste 2014-05-08 13:00:15 +00:00
parent df090599ce
commit 9040058e24

View File

@ -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 ||