[PATCH] D137205: [clang-tidy] Add performance-unnecessary-copy-on-last-use check
Fabian Keßler via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 25 10:12:40 PST 2022
Febbe added inline comments.
================
Comment at: clang-tools-extra/clangd/TidyProvider.cpp:215
"-bugprone-use-after-move",
+ // Using an CFG and might crash on invalid code:
+ "-performance-unnecessary-copy-on-last-use",
----------------
kadircet wrote:
> comment seems half-finished here. is there any other reason than trying to analyze `CFG` for invalid code?
Thanks, the "and" does not belong here.
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