summaryrefslogtreecommitdiff
path: root/lang/clang34/files/patch-include_llvm_ADT_Triple.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/clang34/files/patch-include_llvm_ADT_Triple.h')
-rw-r--r--lang/clang34/files/patch-include_llvm_ADT_Triple.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/clang34/files/patch-include_llvm_ADT_Triple.h b/lang/clang34/files/patch-include_llvm_ADT_Triple.h
new file mode 100644
index 000000000000..f663c27dfbc3
--- /dev/null
+++ b/lang/clang34/files/patch-include_llvm_ADT_Triple.h
@@ -0,0 +1,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;