[clang] [clang-tidy] Add performance-move-smart-pointer-contents check. (PR #66139)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 13 03:36:24 PDT 2023
martinboehme wrote:
> This check has issue in my opinion, the semantic of `std::move(*p)` is not same as `*std::move(p)`
Agree that the suggested fix may not always be correct.
I would suggest simply not emitting a suggested fix (i.e. only emitting a warning).
https://github.com/llvm/llvm-project/pull/66139
More information about the cfe-commits
mailing list