mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
Summary: Follow the clang-tidy suggestion to replace reset-release with move assignment. Move assignment's effect for unique_ptr: > Effects: Transfers ownership from `u` to `*this` as if by calling `reset(u.release())` followed by an assignment from `std::forward<D>(u.get_deleter())`.