Changeset View
Changeset View
Standalone View
Standalone View
clang-tools-extra/docs/ReleaseNotes.rst
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | |||||
New checks | New checks | ||||
^^^^^^^^^^ | ^^^^^^^^^^ | ||||
- New :doc:`bugprone-shared-ptr-array-mismatch <clang-tidy/checks/bugprone-shared-ptr-array-mismatch>` check. | - New :doc:`bugprone-shared-ptr-array-mismatch <clang-tidy/checks/bugprone-shared-ptr-array-mismatch>` check. | ||||
Finds initializations of C++ shared pointers to non-array type that are initialized with an array. | Finds initializations of C++ shared pointers to non-array type that are initialized with an array. | ||||
- New :doc:`modernize-use-inline-const-variables-in-headers | |||||
<clang-tidy/checks/modernize-use-inline-const-variables-in-headers>` check. | |||||
Suggests switching to C++17 ``inline variables`` for non-inline const | |||||
variable definitions and extern const variable declarations in header files. | |||||
New check aliases | New check aliases | ||||
^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^ | ||||
Changes in existing checks | Changes in existing checks | ||||
^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
- Fixed a false positive in :doc:`readability-non-const-parameter | - Fixed a false positive in :doc:`readability-non-const-parameter | ||||
<clang-tidy/checks/readability-non-const-parameter>` when the parameter is referenced by an lvalue | <clang-tidy/checks/readability-non-const-parameter>` when the parameter is referenced by an lvalue | ||||
Show All 30 Lines |