Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang-tools-extra/docs/ReleaseNotes.rst
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | |||||
^^^^^^^^^^ | ^^^^^^^^^^ | ||||
- New :doc:`bugprone-suspicious-realloc-usage | - New :doc:`bugprone-suspicious-realloc-usage | ||||
<clang-tidy/checks/bugprone/suspicious-realloc-usage>` check. | <clang-tidy/checks/bugprone/suspicious-realloc-usage>` check. | ||||
Finds usages of ``realloc`` where the return value is assigned to the | Finds usages of ``realloc`` where the return value is assigned to the | ||||
same expression as passed to the first argument. | same expression as passed to the first argument. | ||||
- New :doc:`cppcoreguidelines-avoid-capture-this-with-capture-default | |||||
<clang-tidy/checks/cppcoreguidelines/avoid-capture-this-with-capture-default>` check. | |||||
Warns when lambda specify a capture default and capture ``this``. The check also | |||||
carlosgalvezp: This text should also be at the beginning of the check class documentation (in the Check.h… | |||||
The check also offers fix-its. could be omitted. This information presents in check table. Eugene.Zelenko: `The check also offers fix-its.` could be omitted. This information presents in check table. | |||||
offers fix-its. | |||||
fix-it. Eugene.Zelenko: `fix-it`. | |||||
- New :doc:`cppcoreguidelines-avoid-const-or-ref-data-members | - New :doc:`cppcoreguidelines-avoid-const-or-ref-data-members | ||||
<clang-tidy/checks/cppcoreguidelines/avoid-const-or-ref-data-members>` check. | <clang-tidy/checks/cppcoreguidelines/avoid-const-or-ref-data-members>` check. | ||||
Warns when a struct or class uses const or reference (lvalue or rvalue) data members. | Warns when a struct or class uses const or reference (lvalue or rvalue) data members. | ||||
- New :doc:`cppcoreguidelines-avoid-do-while | - New :doc:`cppcoreguidelines-avoid-do-while | ||||
<clang-tidy/checks/cppcoreguidelines/avoid-do-while>` check. | <clang-tidy/checks/cppcoreguidelines/avoid-do-while>` check. | ||||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |
This text should also be at the beginning of the check class documentation (in the Check.h, line 18)