aboutsummaryrefslogtreecommitdiffstats
path: root/lang/clang34/files/patch-include_llvm_ADT_Triple.h
blob: f663c27dfbc389bf6133319d57c4717d07b821ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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;