From: LLVM Packaging Team Date: Sun, 3 Feb 2019 16:27:51 +0000 (+0000) Subject: include_llvm_ADT_Triple.h X-Git-Tag: archive/raspbian/1%7.0.1-6+rpi1^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dfbae9d78213f1f43c04ce7248a9a46d1c9f363e;p=llvm-toolchain-7.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 f532a4458..35a40b504 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -158,7 +158,7 @@ public: FreeBSD, Fuchsia, IOS, - KFreeBSD, + kFreeBSD, Linux, Lv2, // PS3 MacOSX, @@ -575,8 +575,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. @@ -586,7 +586,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(); }