From: LLVM Packaging Team Date: Sat, 15 Aug 2020 20:34:33 +0000 (+0100) Subject: include_llvm_ADT_Triple.h X-Git-Tag: archive/raspbian/1%8.0.1-10+rpi1^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b18a6d7208d69b92de6f9b5aa1915b073c76c9d5;p=llvm-toolchain-8.git include_llvm_ADT_Triple.h =================================================================== Gbp-Pq: Topic kfreebsd Gbp-Pq: Name include_llvm_ADT_Triple.h.diff --- diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index e06a68e27..5a0a2f2fb 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -160,7 +160,7 @@ public: FreeBSD, Fuchsia, IOS, - KFreeBSD, + kFreeBSD, Linux, Lv2, // PS3 MacOSX, @@ -579,8 +579,8 @@ public: } /// Tests whether the OS is kFreeBSD. - bool isOSKFreeBSD() const { - return getOS() == Triple::KFreeBSD; + bool isOSkFreeBSD() const { + return getOS() == Triple::kFreeBSD; } /// Tests whether the OS is Hurd. @@ -595,7 +595,7 @@ public: /// Tests whether the OS uses glibc. bool isOSGlibc() const { - return (getOS() == Triple::Linux || getOS() == Triple::KFreeBSD || + return (getOS() == Triple::Linux || getOS() == Triple::kFreeBSD || getOS() == Triple::Hurd) && !isAndroid(); }