-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[docs] Document the missing availability platforms and environments #104653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Document the missing availability platforms and environments #104653
Conversation
@llvm/pr-subscribers-clang Author: Ian Anderson (ian-twilightcoder) ChangesAdd the supported application extension and Mac Catalyst platforms to the availability attribute documentation. Full diff: https://github.com/llvm/llvm-project/pull/104653.diff 1 Files Affected:
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 19cbb9a0111a2..a97f479e18c91 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*``
|
f833ec7
to
e908672
Compare
e908672
to
85e4dc0
Compare
Thanks @ian-twilightcoder! Would you also like to add a note that the environment parameter is currently supported only for the ShaderModel platform? |
Update the availability attribute documentation to include all of the missing platforms, and add in the environments.
85e4dc0
to
b009556
Compare
Update the availability attribute documentation to include all of the missing platforms, and add in the environments.