Changeset View
Changeset View
Standalone View
Standalone View
clang-tools-extra/docs/ReleaseNotes.rst
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | - New :doc:`bugprone-misplaced-pointer-arithmetic-in-alloc | ||||
Finds cases where an integer expression is added to or subtracted from the | Finds cases where an integer expression is added to or subtracted from the | ||||
result of a memory allocation function (``malloc()``, ``calloc()``, | result of a memory allocation function (``malloc()``, ``calloc()``, | ||||
``realloc()``, ``alloca()``) instead of its argument. | ``realloc()``, ``alloca()``) instead of its argument. | ||||
- New :doc:`bugprone-reserved-identifier | - New :doc:`bugprone-reserved-identifier | ||||
<clang-tidy/checks/bugprone-reserved-identifier>` check. | <clang-tidy/checks/bugprone-reserved-identifier>` check. | ||||
Checks for usages of identifiers reserved for use by the implementation. | Checks for usages of identifiers reserved for use by the implementation. | ||||
- New :doc:`bugprone-unintended-adl | |||||
<clang-tidy/checks/bugprone-unintended-adl>` check. | |||||
Finds usages of ADL (argument-dependent lookup), or potential ADL in the case | |||||
of templates, that are not on the provided whitelist. | |||||
- New :doc:`cert-oop57-cpp | - New :doc:`cert-oop57-cpp | ||||
<clang-tidy/checks/cert-oop57-cpp>` check. | <clang-tidy/checks/cert-oop57-cpp>` check. | ||||
Flags use of the `C` standard library functions ``memset``, ``memcpy`` and | Flags use of the `C` standard library functions ``memset``, ``memcpy`` and | ||||
``memcmp`` and similar derivatives on non-trivial types. | ``memcmp`` and similar derivatives on non-trivial types. | ||||
New aliases | New aliases | ||||
^^^^^^^^^^^ | ^^^^^^^^^^^ | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |