================ @@ -0,0 +1,106 @@ +# clang-tidy - bugprone-smart-ptr-initialization + +## bugprone-smart-ptr-initialization + +Detects dangerous initialization of smart pointers with raw pointers that are +already owned elsewhere, which can lead to double deletion. + +This check implements CERT C++ rule [MEM56-CPP. Do not store an already-owned ---------------- vbvictor wrote:
We have references ad the end, no need to double-write here https://github.com/llvm/llvm-project/pull/181570 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
