================ @@ -0,0 +1,21 @@ +.. title:: clang-tidy - performance-move-smart-pointer-contents + +performance-move-smart-pointer-contents +======================================= + +Recommends avoiding moving out of a smart pointer when moving the pointer is +cheaper. + +Given a smart pointer containing a movable type, such as a +``std::unique_ptr<SomeProtocolBuffer>``, it's possible to move the contents of the ---------------- EugeneZelenko wrote:
Please follow 80 characters limit. Same below. https://github.com/llvm/llvm-project/pull/66139 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits