[clang] [llvm] [Triple] Make an target triple "os" for firmware (PR #176272)

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 20 08:33:00 PST 2026


================
@@ -893,6 +901,8 @@ class Triple {
 
   bool isOSManagarm() const { return getOS() == Triple::Managarm; }
 
+  bool isOSFirmware() const { return getOS() == Triple::Firmware; }
----------------
compnerd wrote:

This again applies without a vendor. Can we rename this to `isOSAppleFirmware`?

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


More information about the cfe-commits mailing list