diff options
author | Tom Honermann <tom.honermann@intel.com> | 2024-03-15 08:30:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 11:30:43 -0400 |
commit | 92b56011e6b61e7dc1628c0431ece432f282b3cb (patch) | |
tree | 2d17a662d4c6abc3d855d6b0827a7558e878d4dd /clang | |
parent | 86293a7c1377d1c795961f0e73799977eeb4829a (diff) | |
download | llvm-92b56011e6b61e7dc1628c0431ece432f282b3cb.zip llvm-92b56011e6b61e7dc1628c0431ece432f282b3cb.tar.gz llvm-92b56011e6b61e7dc1628c0431ece432f282b3cb.tar.bz2 |
[clang] Fix documentation markup in the Clang release notes and language extension docs. (#85310)
Diffstat (limited to 'clang')
-rw-r--r-- | clang/docs/LanguageExtensions.rst | 2 | ||||
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst index 9347703..2257360 100644 --- a/clang/docs/LanguageExtensions.rst +++ b/clang/docs/LanguageExtensions.rst @@ -3444,7 +3444,7 @@ Query for this feature with ``__has_builtin(__builtin_debugtrap)``. Query for this feature with ``__has_builtin(__builtin_trap)``. ``__builtin_arm_trap`` ------------------- +---------------------- ``__builtin_arm_trap`` is an AArch64 extension to ``__builtin_trap`` which also accepts a compile-time constant value, encoded directly into the trap instruction for later inspection. diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 459f6a2..dfd88a1 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -205,15 +205,15 @@ Attribute Changes in Clang to certain C++ class types, such as smart pointers: ``void useObject(std::unique_ptr<Object> _Nonnull obj);``. - This works for standard library types including ``unique_ptr``, ``shared_ptr`` - and ``function``. See `the attribute reference -documentation <https://llvm.org/docs/AttributeReference.html#nullability-attributes>`_ -for the full list. + This works for standard library types including ``unique_ptr``, ``shared_ptr``, + and ``function``. See + `the attribute reference documentation <https://llvm.org/docs/AttributeReference.html#nullability-attributes>`_ + for the full list. - The ``_Nullable`` attribute can be applied to C++ class declarations: ``template <class T> class _Nullable MySmartPointer {};``. - This allows the ``_Nullable`` and ``_Nonnull` family of type attributes to + This allows the ``_Nullable`` and ``_Nonnull`` family of type attributes to apply to this class. Improvements to Clang's diagnostics |