Skip to content

Commit 92b5601

Browse files
authored
[clang] Fix documentation markup in the Clang release notes and language extension docs. (#85310)
1 parent 86293a7 commit 92b5601

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

clang/docs/LanguageExtensions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3444,7 +3444,7 @@ Query for this feature with ``__has_builtin(__builtin_debugtrap)``.
34443444
Query for this feature with ``__has_builtin(__builtin_trap)``.
34453445
34463446
``__builtin_arm_trap``
3447-
------------------
3447+
----------------------
34483448
34493449
``__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.
34503450

clang/docs/ReleaseNotes.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,15 @@ Attribute Changes in Clang
205205
to certain C++ class types, such as smart pointers:
206206
``void useObject(std::unique_ptr<Object> _Nonnull obj);``.
207207

208-
This works for standard library types including ``unique_ptr``, ``shared_ptr``
209-
and ``function``. See `the attribute reference
210-
documentation <https://llvm.org/docs/AttributeReference.html#nullability-attributes>`_
211-
for the full list.
208+
This works for standard library types including ``unique_ptr``, ``shared_ptr``,
209+
and ``function``. See
210+
`the attribute reference documentation <https://llvm.org/docs/AttributeReference.html#nullability-attributes>`_
211+
for the full list.
212212

213213
- The ``_Nullable`` attribute can be applied to C++ class declarations:
214214
``template <class T> class _Nullable MySmartPointer {};``.
215215

216-
This allows the ``_Nullable`` and ``_Nonnull` family of type attributes to
216+
This allows the ``_Nullable`` and ``_Nonnull`` family of type attributes to
217217
apply to this class.
218218

219219
Improvements to Clang's diagnostics

0 commit comments

Comments
 (0)