================
@@ -356,13 +356,17 @@ class LLVM_LIBRARY_VISIBILITY Darwin : public AppleMachO {
   mutable bool TargetInitialized;
 
   enum DarwinPlatformKind {
+    // Platforms with associated *_DEPLOYMENT_TARGET environment variables.
     MacOS,
     IPhoneOS,
     TvOS,
     WatchOS,
     DriverKit,
     XROS,
-    LastDarwinPlatform = XROS
+    LastDarwinPlatform = XROS,
+
+    // Additional platforms.
+    Firmware,
----------------
ian-twilightcoder wrote:

Actually the more I look at this, there's no real reason to insist on an 
environment variable for every Darwin Platform, I'm just going to get rid of 
`LastDarwinPlatform`

https://github.com/llvm/llvm-project/pull/176272
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to