zinovy.nis added a comment. In D74692#1911150 <https://reviews.llvm.org/D74692#1911150>, @Quuxplusone wrote:
> Anyway, I still don't see the point of this patch. It seems like you're just > duplicating the work of `performance-move-const-arg`. People who want to be > shown notes about moves-of-const-args should just enable that check instead. Well, I understand your point. But moving a const is NOP so `bugprone-*` should not be warned at all? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74692/new/ https://reviews.llvm.org/D74692 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits