[PATCH] D153220: [clang-tidy] Improve `performance-move-const-arg` message when no move constructor is available
André Schackier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 18 00:41:43 PDT 2023
AMS21 created this revision.
AMS21 added reviewers: PiotrZSL, carlosgalvezp.
Herald added a subscriber: xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
AMS21 requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
We now display a simple note if the reason is that the used class does not
support move semantics.
This fixes llvm#62550
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153220
Files:
clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153220.532452.patch
Type: text/x-patch
Size: 5411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230618/b52df803/attachment.bin>
More information about the cfe-commits
mailing list