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:
parent
df090599ce
commit
9040058e24
@ -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…
Reference in New Issue
Block a user