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:
Ed Maste 2014-05-08 13:00:15 +00:00
parent da704bf346
commit 9f0141da2c

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