[mlir] [lldb] [clang-tools-extra] [llvm] [flang] [libcxx] [openmp] [libc] [compiler-rt] [clang] [clang-tidy] Add performance-move-smart-pointer-contents check. (PR #66139)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 6 22:41:17 PST 2023


PiotrZSL wrote:

Personally I think that check for move out of std::unique_ptr, and check for overall heavy moves could be implemented as an separate one, not related to unique_ptr. Easiest way to detect heavy moves is to check size of object, and above some threshold mark them as heavy. But thats a separate problem. Maybe this PR should be abandoned.

https://github.com/llvm/llvm-project/pull/66139


More information about the cfe-commits mailing list