We now display a simple note if the reason is that the used class does not
support move semantics.
This fixes llvm#62550
Differential D153220
[clang-tidy] Improve `performance-move-const-arg` message when no move constructor is available AMS21 on Jun 18 2023, 12:41 AM. Authored by
Details We now display a simple note if the reason is that the used class does not This fixes llvm#62550
Diff Detail
Event Timeline
Comment Actions Overall looks ok,
Comment Actions +- LGTM
Comment Actions Implemented suggested changes
Comment Actions LGTM
Comment Actions As always if there are no more problems, I would kindly ask for someone to push this on my behalf :) |
make sure you use here canonical type, or it may not work correctly with typedefs, like typedefs to records.
same in line 120, in fact only on line 154 would be good to use original type.