[PATCH] D90042: [clang-tidy] performance-unnecessary-copy-initialization: Check for const reference arguments that are replaced template parameter type.
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 27 05:45:06 PDT 2020
aaron.ballman added a comment.
In D90042#2350035 <https://reviews.llvm.org/D90042#2350035>, @flx wrote:
> I should note that I was only able to reproduce the false positive with the actual implementation std::function and not our fake version here.
Any reason not to lift enough of the actual definition to be able to reproduce the issue in your test cases? Does the change in definitions break other tests?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90042/new/
https://reviews.llvm.org/D90042
More information about the cfe-commits
mailing list