https://github.com/tahonermann updated https://github.com/llvm/llvm-project/pull/85310
>From 06f9e13e622f75a6a192c5bbe06e2facd3c0124d Mon Sep 17 00:00:00 2001 From: Tom Honermann <tom.honerm...@intel.com> Date: Thu, 14 Mar 2024 13:55:32 -0700 Subject: [PATCH 1/2] [clang] Fix Clang language extension documentation markup for __builtin_arm_trap. --- clang/docs/LanguageExtensions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst index 9347703e96e21a..225736009d4869 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. >From f1fe6f6e0a9a38569d13f93e7d2cd15730da178f Mon Sep 17 00:00:00 2001 From: Tom Honermann <tom.honerm...@intel.com> Date: Thu, 14 Mar 2024 14:24:40 -0700 Subject: [PATCH 2/2] [clang] Fix Clang release note documentation markup for nullability attributes. --- clang/docs/ReleaseNotes.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 459f6a25aeef7b..52943b9f082934 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -205,10 +205,10 @@ 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 {};``. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits