https://github.com/ian-twilightcoder created https://github.com/llvm/llvm-project/pull/104653
Add the supported application extension and Mac Catalyst platforms to the availability attribute documentation. >From f833ec7e5e1dd8d8076df157ab0766b87ea0734b Mon Sep 17 00:00:00 2001 From: Ian Anderson <i...@apple.com> Date: Fri, 16 Aug 2024 17:32:29 -0700 Subject: [PATCH] [docs] Document the missing Apple availability platforms Add the supported application extension and Mac Catalyst platforms to the availability attribute documentation. --- clang/include/clang/Basic/AttrDocs.td | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td index 19cbb9a0111a28..a97f479e18c916 100644 --- a/clang/include/clang/Basic/AttrDocs.td +++ b/clang/include/clang/Basic/AttrDocs.td @@ -1637,12 +1637,20 @@ specifies availability for the current target platform, the availability attributes are ignored. Supported platforms are: ``ios`` +``ios_app_extension`` Apple's iOS operating system. The minimum deployment target is specified as part of the ``-target *arch*-apple-ios*version*`` command line argument. Alternatively, it can be specified by the ``-mtargetos=ios*version*`` command-line argument. +``maccatalyst`` +``maccatalyst_app_extension`` + Apple's Mac Catalyst development environment for its macOS operating system. + The minimum deployment target is specified as part of the + ``-target *arch*-apple-ios*version*-macabi`` command line argument. + ``macos`` +``macos_app_extension`` Apple's macOS operating system. The minimum deployment target is specified as part of the ``-target *arch*-apple-macos*version*`` command line argument. Alternatively, it can be specified by the ``-mtargetos=macos*version*`` @@ -1650,18 +1658,21 @@ attributes are ignored. Supported platforms are: backward-compatibility reasons, but it is deprecated. ``tvos`` +``tvos_app_extension`` Apple's tvOS operating system. The minimum deployment target is specified as part of the ``-target *arch*-apple-tvos*version*`` command line argument. Alternatively, it can be specified by the ``-mtargetos=tvos*version*`` command-line argument. ``watchos`` +``watchos_app_extension`` Apple's watchOS operating system. The minimum deployment target is specified as part of the ``-target *arch*-apple-watchos*version*`` command line argument. Alternatively, it can be specified by the ``-mtargetos=watchos*version*`` command-line argument. ``visionos`` +``visionos_app_extension`` Apple's visionOS operating system. The minimum deployment target is specified as part of the ``-target *arch*-apple-visionos*version*`` command line argument. Alternatively, it can be specified by the ``-mtargetos=visionos*version*`` _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits