[PATCH] D137205: [clang-tidy] Add performance-unnecessary-copy-on-last-use check
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 2 11:02:23 PDT 2022
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/performance/UnnecessaryCopyOnLastUseCheck.cpp:1
+//===--- UnnecessaryCopyOnLastUseCheck.cpp - clang-tidy--------------------===//
+//
----------------
Please put space after `clang-tidy`.
================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:124
+ ``std::move``.
+ The usage just before an assignment is interpreted as last usage.
+
----------------
One sentence is enough.
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