Skip to content

Commit f833ec7

Browse files
[docs] Document the missing Apple availability platforms
Add the supported application extension and Mac Catalyst platforms to the availability attribute documentation.
1 parent cd3f48d commit f833ec7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,31 +1637,42 @@ specifies availability for the current target platform, the availability
16371637
attributes are ignored. Supported platforms are:
16381638

16391639
``ios``
1640+
``ios_app_extension``
16401641
Apple's iOS operating system. The minimum deployment target is specified
16411642
as part of the ``-target *arch*-apple-ios*version*`` command line argument.
16421643
Alternatively, it can be specified by the ``-mtargetos=ios*version*``
16431644
command-line argument.
16441645

1646+
``maccatalyst``
1647+
``maccatalyst_app_extension``
1648+
Apple's Mac Catalyst development environment for its macOS operating system.
1649+
The minimum deployment target is specified as part of the
1650+
``-target *arch*-apple-ios*version*-macabi`` command line argument.
1651+
16451652
``macos``
1653+
``macos_app_extension``
16461654
Apple's macOS operating system. The minimum deployment target is specified
16471655
as part of the ``-target *arch*-apple-macos*version*`` command line argument.
16481656
Alternatively, it can be specified by the ``-mtargetos=macos*version*``
16491657
command-line argument. ``macosx`` is supported for
16501658
backward-compatibility reasons, but it is deprecated.
16511659

16521660
``tvos``
1661+
``tvos_app_extension``
16531662
Apple's tvOS operating system. The minimum deployment target is specified
16541663
as part of the ``-target *arch*-apple-tvos*version*`` command line argument.
16551664
Alternatively, it can be specified by the ``-mtargetos=tvos*version*``
16561665
command-line argument.
16571666

16581667
``watchos``
1668+
``watchos_app_extension``
16591669
Apple's watchOS operating system. The minimum deployment target is specified
16601670
as part of the ``-target *arch*-apple-watchos*version*`` command line argument.
16611671
Alternatively, it can be specified by the ``-mtargetos=watchos*version*``
16621672
command-line argument.
16631673

16641674
``visionos``
1675+
``visionos_app_extension``
16651676
Apple's visionOS operating system. The minimum deployment target is specified
16661677
as part of the ``-target *arch*-apple-visionos*version*`` command line argument.
16671678
Alternatively, it can be specified by the ``-mtargetos=visionos*version*``

0 commit comments

Comments
 (0)