[clang] [clang-tools-extra] [clang-tidy] New performance linter: performance-use-std-move (PR #179467)

via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 9 00:14:36 PST 2026


serge-sans-paille wrote:

@vbvictor I've manually reviewed and submitted the suggestion of the pass for clang, lld and clang-tools-extra. The was only a few debatable situations, mostly due to `std::pair` having a non-trivial move-assign in some circumstances, while not generating better code in those cases. The suggestion is not semantically incorrect, but not actually profitable.

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


More information about the cfe-commits mailing list