================ @@ -384,37 +309,21 @@ Changes in existing checks - Improved :doc:`bugprone-unchecked-optional-access <clang-tidy/checks/bugprone/unchecked-optional-access>` check by supporting ``NullableValue::makeValue`` and ``NullableValue::makeValueInplace`` to - prevent false-positives for ``BloombergLP::bdlb::NullableValue`` type, and by - adding the `IgnoreValueCalls` option to suppress diagnostics for - ``optional::value()`` and the `IgnoreSmartPointerDereference` option to - ignore optionals reached via smart-pointer-like dereference, while still - diagnosing UB-prone dereferences via ``operator*`` and ``operator->``. + prevent false-positives for ``BloombergLP::bdlb::NullableValue`` type. - Improved :doc:`bugprone-unhandled-self-assignment <clang-tidy/checks/bugprone/unhandled-self-assignment>` check by adding an additional matcher that generalizes the copy-and-swap idiom pattern detection. -- Improved :doc:`bugprone-unsafe-functions - <clang-tidy/checks/bugprone/unsafe-functions>` check by hiding the default - suffix when the reason starts with the character `>` in the `CustomFunctions` - option. - -- Improved :doc:`cppcoreguidelines-avoid-non-const-global-variables - <clang-tidy/checks/cppcoreguidelines/avoid-non-const-global-variables>` check - by adding a new option `AllowThreadLocal` that suppresses warnings on - non-const global variables with thread-local storage duration. +- Improved :doc:`bugprone-bugprone-use-after-move + <clang-tidy/checks/bugprone/bugprone-use-after-move>` check by adding + an option to support custom invalidation functions. ---------------- vbvictor wrote:
```suggestion `InvalidationFunctions` option to support custom invalidation functions. ``` https://github.com/llvm/llvm-project/pull/170346 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
