================
@@ -893,6 +901,8 @@ class Triple {
bool isOSManagarm() const { return getOS() == Triple::Managarm; }
+ bool isOSFirmware() const { return getOS() == Triple::Firmware; }
----------------
ian-twilightcoder wrote:
There's an `isOSFirmware` and `isAppleFirmware`. The former is used to gate
`TARGET_OS_FIRMWARE` and the latter is for the Apple specific parts.
https://github.com/llvm/llvm-project/pull/176272
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits