[PATCH] D137205: [clang-tidy] Add performance-unnecessary-copy-on-last-use check
Oliver Stöneberg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 18 09:14:47 PST 2022
firewave added a comment.
In D137205#3937298 <https://reviews.llvm.org/D137205#3937298>, @Febbe wrote:
> Does only a warning appear? Or also a fix? Currently, only a warning should appear, but this is not fixable in c++11.
There's no fix-it. I didn't realize that before.
Maybe this should also be added to the documentation as a known limitation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137205/new/
https://reviews.llvm.org/D137205
More information about the cfe-commits
mailing list