[PATCH] D153220: [clang-tidy] Improve `performance-move-const-arg` message when no move constructor is available

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 18 04:23:43 PDT 2023


PiotrZSL accepted this revision.
PiotrZSL added a comment.

LGTM



================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:378-379
+- Improved :doc:`performance-move-const-arg
+  <clang-tidy/checks/performance/move-const-arg>` check to warn when no move
+  constructor is available.
+
----------------
NOTE: `check to warn when no move  constructor is available.` -> `check to warn when move special member functions are not available.`  or something similar, to not limit this only to construction


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153220/new/

https://reviews.llvm.org/D153220



More information about the cfe-commits mailing list