[clang] Add support for anyAppleOS availability (PR #181953)

Allan Shortlidge via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 25 08:34:25 PDT 2026


================
@@ -1113,6 +1113,7 @@ def Availability : InheritableAttr {
              .Case("maccatalyst_app_extension", "macCatalyst (App Extension)")
              .Case("xros", "visionOS")
              .Case("xros_app_extension", "visionOS (App Extension)")
+             .Case("anyappleos", "any Apple OS")
----------------
tshortli wrote:

I don't think we should add support for app extension availability. Use of app extension specific availability has been discouraged as of late. If we could remove the concept of app extension availability from Swift, we probably would.

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


More information about the cfe-commits mailing list