================ @@ -101,6 +101,14 @@ Improvements to clang-tidy New checks ^^^^^^^^^^ +- New :doc:`bugprone-smart-ptr-initialization + <clang-tidy/checks/bugprone/smart-ptr-initialization>` check. + + Detects dangerous initialization of smart pointers with raw pointers that are + already owned elsewhere, which can lead to double deletion. + +- New :doc:`llvm-type-switch-case-types + <clang-tidy/checks/llvm/type-switch-case-types>` check. ---------------- EugeneZelenko wrote:
Rebase artifact? https://github.com/llvm/llvm-project/pull/181570 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
