aboutsummaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorTom Honermann <tom.honermann@intel.com>2024-03-15 08:30:43 -0700
committerGitHub <noreply@github.com>2024-03-15 11:30:43 -0400
commit92b56011e6b61e7dc1628c0431ece432f282b3cb (patch)
tree2d17a662d4c6abc3d855d6b0827a7558e878d4dd /clang
parent86293a7c1377d1c795961f0e73799977eeb4829a (diff)
downloadllvm-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.rst2
-rw-r--r--clang/docs/ReleaseNotes.rst10
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