@@ -387,7 +387,7 @@ Non-comprehensive list of changes in this release
387
387
388
388
- The new builtin ``__builtin_counted_by_ref `` was added. In contexts where the
389
389
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
391
391
set the counter during allocation in the Linux kernel:
392
392
393
393
.. code-block :: c
@@ -452,7 +452,7 @@ Modified Compiler Flags
452
452
libraries remains unchanged.
453
453
454
454
- 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 ``,
456
456
``memset `` and similar functions for which it is a documented undefined
457
457
behavior. It is implied by ``-Wnontrivial-memaccess ``
458
458
@@ -687,7 +687,7 @@ Bug Fixes to C++ Support
687
687
- Fixed a failed assertion when checking invalid delete operator declaration. (#GH96191)
688
688
- Fix a crash when checking destructor reference with an invalid initializer. (#GH97230)
689
689
- 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
691
691
with a string literal. (#GH82167)
692
692
- Fix a crash when matching template template parameters with templates which have
693
693
parameters of different class type. (#GH101394)
@@ -731,7 +731,7 @@ Bug Fixes to C++ Support
731
731
- Fix a crash when using ``source_location `` in the trailing return type of a lambda expression. (#GH67134)
732
732
- A follow-up fix was added for (#GH61460), as the previous fix was not entirely correct. (#GH86361), (#GH112352)
733
733
- 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
735
735
pack. (#GH63819), (#GH107560)
736
736
- Fix a crash when a static assert declaration has an invalid close location. (#GH108687)
737
737
- Avoided a redundant friend declaration instantiation under a certain ``consteval `` context. (#GH107175)
@@ -1052,7 +1052,7 @@ Moved checkers
1052
1052
``bugprone-branch-clone ``.
1053
1053
1054
1054
- 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.
1056
1056
To detect too large arguments passed to malloc, consider using the checker
1057
1057
``alpha.taint.TaintedAlloc ``.
1058
1058
0 commit comments