include_llvm_ADT_Triple.h
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 18 Sep 2020 09:47:25 +0000 (10:47 +0100)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Fri, 18 Sep 2020 09:47:25 +0000 (10:47 +0100)
===================================================================

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name include_llvm_ADT_Triple.h.diff

include/llvm/ADT/Triple.h

index f532a4458a9132aea50a8301ee52744b0c618afc..35a40b504ebca18ac5baa40374756ef0c856ded2 100644 (file)
@@ -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();
   }