[llvm] Triple: Add BridgeOS to isOSDarwin (PR #145636)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 25 01:38:24 PDT 2025


================
@@ -591,9 +594,11 @@ class Triple {
     return (getVendor() == Triple::Apple) && isOSBinFormatMachO();
   }
 
-  /// Is this a "Darwin" OS (macOS, iOS, tvOS, watchOS, XROS, or DriverKit).
+  /// Is this a "Darwin" OS (macOS, iOS, tvOS, watchOS, XROS, bridgeOS, or
+  /// DriverKit).
----------------
fhahn wrote:

```suggestion
  /// Is this a "Darwin" OS (macOS, iOS, tvOS, watchOS, DriverKit, XROS, or
  /// bridgeOS).
```
might as well match the order of the check

https://github.com/llvm/llvm-project/pull/145636


More information about the llvm-commits mailing list