Skip to content

Commit 3a8ada6

Browse files
[clang][NFC] Fix miscellaneous typos in release notes
1 parent a9eb8f0 commit 3a8ada6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ Non-comprehensive list of changes in this release
387387

388388
- The new builtin ``__builtin_counted_by_ref`` was added. In contexts where the
389389
programmer needs access to the ``counted_by`` attribute's field, but it's not
390-
available --- e.g. in macros. For instace, it can be used to automatically
390+
available --- e.g. in macros. For instance, it can be used to automatically
391391
set the counter during allocation in the Linux kernel:
392392

393393
.. code-block:: c
@@ -452,7 +452,7 @@ Modified Compiler Flags
452452
libraries remains unchanged.
453453

454454
- The ``-Wnontrivial-memcall`` warning has been added to warn about
455-
passing non-trivially-copyable destrination parameter to ``memcpy``,
455+
passing non-trivially-copyable destination parameter to ``memcpy``,
456456
``memset`` and similar functions for which it is a documented undefined
457457
behavior. It is implied by ``-Wnontrivial-memaccess``
458458

@@ -687,7 +687,7 @@ Bug Fixes to C++ Support
687687
- Fixed a failed assertion when checking invalid delete operator declaration. (#GH96191)
688688
- Fix a crash when checking destructor reference with an invalid initializer. (#GH97230)
689689
- Clang now correctly parses potentially declarative nested-name-specifiers in pointer-to-member declarators.
690-
- Fix a crash when checking the initialzier of an object that was initialized
690+
- Fix a crash when checking the initializer of an object that was initialized
691691
with a string literal. (#GH82167)
692692
- Fix a crash when matching template template parameters with templates which have
693693
parameters of different class type. (#GH101394)
@@ -731,7 +731,7 @@ Bug Fixes to C++ Support
731731
- Fix a crash when using ``source_location`` in the trailing return type of a lambda expression. (#GH67134)
732732
- A follow-up fix was added for (#GH61460), as the previous fix was not entirely correct. (#GH86361), (#GH112352)
733733
- Fixed a crash in the typo correction of an invalid CTAD guide. (#GH107887)
734-
- Fixed a crash when clang tries to subtitute parameter pack while retaining the parameter
734+
- Fixed a crash when clang tries to substitute parameter pack while retaining the parameter
735735
pack. (#GH63819), (#GH107560)
736736
- Fix a crash when a static assert declaration has an invalid close location. (#GH108687)
737737
- Avoided a redundant friend declaration instantiation under a certain ``consteval`` context. (#GH107175)
@@ -1052,7 +1052,7 @@ Moved checkers
10521052
``bugprone-branch-clone``.
10531053

10541054
- The checker ``alpha.security.MallocOverflow`` was deleted because it was
1055-
badly implemented and its agressive logic produced too many false positives.
1055+
badly implemented and its aggressive logic produced too many false positives.
10561056
To detect too large arguments passed to malloc, consider using the checker
10571057
``alpha.taint.TaintedAlloc``.
10581058

0 commit comments

Comments
 (0)