diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-02-06 14:18:29 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-02-06 14:18:29 +0000 |
commit | 35300943c99663f2c60161253648d218878be54d (patch) | |
tree | cf9798d3a33fa7bbea23a9785dbac20f14480484 /lang/clang34/files/patch-include_llvm_ADT_Triple.h | |
parent | - Add missing python run-dependency (diff) |
Revert removal of llvm 3.4 it is still in used by audio/faust
Diffstat (limited to 'lang/clang34/files/patch-include_llvm_ADT_Triple.h')
-rw-r--r-- | lang/clang34/files/patch-include_llvm_ADT_Triple.h | 14 |
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; |