blob: 788c5bbd89097f8c5e0d8198c3f6f5d91c7c736a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$FreeBSD$
--- include/llvm/ADT/Triple.h.orig
+++ include/llvm/ADT/Triple.h
@@ -296,6 +296,11 @@
return isMacOSX() || getOS() == Triple::IOS;
}
+ /// isOSFreeBSD - Is this FreeBSD OS
+ bool isOSFreeBSD() const {
+ return getOS() == Triple::FreeBSD;
+ }
+
/// \brief Tests for either Cygwin or MinGW OS
bool isOSCygMing() const {
return getOS() == Triple::Cygwin || getOS() == Triple::MinGW32;
|