[clang-tools-extra] [clang-tidy] Add `performance-explicit-move-constructor` check (PR #122599)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 12 22:51:44 PST 2025


https://github.com/PiotrZSL commented:

To be honest, best would be flag calls to copy constructors that take rvalue where move constructor exists. In such case it would found actual performance issues.

But still this kind of check is fine.

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


More information about the cfe-commits mailing list