File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -596,8 +596,8 @@ libc++'s ABI guarantees
596596
597597Libc++ provides several ABI guarantees, which are documented :ref: `here <ABIGuarantees >`.
598598
599- Availability Markups
600- ====================
599+ Availability Markup
600+ ===================
601601
602602Libc++ is shipped by various vendors. In particular, it is used as a system library on macOS, iOS and other Apple
603603platforms. In order for users to be able to compile a binary that is intended to be deployed to an older version of a
@@ -615,7 +615,6 @@ the symbols when actually trying to launch the program on macOS 10.13. To turn t
615615declarations are annotated with when they were introduced, and the compiler can produce a diagnostic if the program
616616references something that isn't available on the deployment target.
617617
618-
619618This mechanism is general in nature, and any vendor can add their markup to the library (see below). Whenever a new
620619feature is added that requires support in the shared library, two macros are added below to allow marking the feature as
621620unavailable:
Original file line number Diff line number Diff line change 2020// This file defines a framework that can be used by vendors to encode the version of an operating system that various
2121// features of libc++ has been shipped in. This is primarily intended to allow safely deploying an executable built with
2222// a new version of the library on a platform containing an older version of the built library.
23- // Detailed documentation for this can be found at https://libcxx.llvm.org/VendorDocumentation.html#availability-markups
23+ // Detailed documentation for this can be found at https://libcxx.llvm.org/VendorDocumentation.html#availability-markup
2424
2525// Availability markup is disabled when building the library, or when a non-Clang
2626// compiler is used because only Clang supports the necessary attributes.
You can’t perform that action at this time.
0 commit comments