freebsd-ports/lang/clang34/files/patch-include_llvm_ADT_Triple.h
2013-11-21 22:33:49 +00:00

17 lines
421 B
C

$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;