[clang] [clang] Fixup last value in DarwinPlatformKind enum (PR #81011)

Cyndy Ishida via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 08:54:23 PST 2024


https://github.com/cyndyishida created https://github.com/llvm/llvm-project/pull/81011

None

>From a9c3775ab646d3540dc776b4363d6d95b49889fd Mon Sep 17 00:00:00 2001
From: Cyndy Ishida <cyndy_ishida at apple.com>
Date: Wed, 7 Feb 2024 08:52:40 -0800
Subject: [PATCH] [clang] Fixup last value in DarwinPlatformKind

---
 clang/lib/Driver/ToolChains/Darwin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/Driver/ToolChains/Darwin.h b/clang/lib/Driver/ToolChains/Darwin.h
index 5e60b0841d6d5f..10d4b69e5d5f10 100644
--- a/clang/lib/Driver/ToolChains/Darwin.h
+++ b/clang/lib/Driver/ToolChains/Darwin.h
@@ -300,7 +300,7 @@ class LLVM_LIBRARY_VISIBILITY Darwin : public MachO {
     WatchOS,
     DriverKit,
     XROS,
-    LastDarwinPlatform = DriverKit
+    LastDarwinPlatform = XROS
   };
   enum DarwinEnvironmentKind {
     NativeEnvironment,



More information about the cfe-commits mailing list