[clang] 3a8ada6 - [clang][NFC] Fix miscellaneous typos in release notes
via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 5 01:00:10 PST 2024
Author: serge-sans-paille
Date: 2024-12-05T09:59:57+01:00
New Revision: 3a8ada67ff45aec5696d72212d516593c3d32893
URL: https://github.com/llvm/llvm-project/commit/3a8ada67ff45aec5696d72212d516593c3d32893
DIFF: https://github.com/llvm/llvm-project/commit/3a8ada67ff45aec5696d72212d516593c3d32893.diff
LOG: [clang][NFC] Fix miscellaneous typos in release notes
Added:
Modified:
clang/docs/ReleaseNotes.rst
Removed:
################################################################################
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 191b4cc0ce07ad..e484eb7a76e63a 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -387,7 +387,7 @@ Non-comprehensive list of changes in this release
- The new builtin ``__builtin_counted_by_ref`` was added. In contexts where the
programmer needs access to the ``counted_by`` attribute's field, but it's not
- available --- e.g. in macros. For instace, it can be used to automatically
+ available --- e.g. in macros. For instance, it can be used to automatically
set the counter during allocation in the Linux kernel:
.. code-block:: c
@@ -452,7 +452,7 @@ Modified Compiler Flags
libraries remains unchanged.
- The ``-Wnontrivial-memcall`` warning has been added to warn about
- passing non-trivially-copyable destrination parameter to ``memcpy``,
+ passing non-trivially-copyable destination parameter to ``memcpy``,
``memset`` and similar functions for which it is a documented undefined
behavior. It is implied by ``-Wnontrivial-memaccess``
@@ -687,7 +687,7 @@ Bug Fixes to C++ Support
- Fixed a failed assertion when checking invalid delete operator declaration. (#GH96191)
- Fix a crash when checking destructor reference with an invalid initializer. (#GH97230)
- Clang now correctly parses potentially declarative nested-name-specifiers in pointer-to-member declarators.
-- Fix a crash when checking the initialzier of an object that was initialized
+- Fix a crash when checking the initializer of an object that was initialized
with a string literal. (#GH82167)
- Fix a crash when matching template template parameters with templates which have
parameters of
diff erent class type. (#GH101394)
@@ -731,7 +731,7 @@ Bug Fixes to C++ Support
- Fix a crash when using ``source_location`` in the trailing return type of a lambda expression. (#GH67134)
- A follow-up fix was added for (#GH61460), as the previous fix was not entirely correct. (#GH86361), (#GH112352)
- Fixed a crash in the typo correction of an invalid CTAD guide. (#GH107887)
-- Fixed a crash when clang tries to subtitute parameter pack while retaining the parameter
+- Fixed a crash when clang tries to substitute parameter pack while retaining the parameter
pack. (#GH63819), (#GH107560)
- Fix a crash when a static assert declaration has an invalid close location. (#GH108687)
- Avoided a redundant friend declaration instantiation under a certain ``consteval`` context. (#GH107175)
@@ -1052,7 +1052,7 @@ Moved checkers
``bugprone-branch-clone``.
- The checker ``alpha.security.MallocOverflow`` was deleted because it was
- badly implemented and its agressive logic produced too many false positives.
+ badly implemented and its aggressive logic produced too many false positives.
To detect too large arguments passed to malloc, consider using the checker
``alpha.taint.TaintedAlloc``.
More information about the cfe-commits
mailing list