[clang-tools-extra] [clang-tidy] unnecessary-value-param: Allow moving of value arguments. (PR #145871)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 26 09:12:25 PDT 2025


vbvictor wrote:

void NegativeMoved(ExpensiveToCopyType A) {
  ExpensiveToCopyType Copy = std::move(A);
}

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


More information about the cfe-commits mailing list