[PATCH] D151092: [clang-tidy]performance-no-automatic-move: fix false negative on `const T&&` ctors.
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 22 06:54:27 PDT 2023
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:385
+- Improved :doc:`performance-no-automatic-move
+ <clang-tidy/checks/performance/performance-no-automatic-move>`: warn on `const &&`
+ constructors.
----------------
Please use double back-ticks for `const &&`.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/performance/no-automatic-move.cpp:118
}
+
----------------
Is it really needed?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151092/new/
https://reviews.llvm.org/D151092
More information about the cfe-commits
mailing list