[PATCH] D148110: [clang-tidy] bugprone-use-after-move: Ctor arguments should be sequenced if ctor call is written as list-initialization.

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 02:35:03 PDT 2023


PiotrZSL accepted this revision.
PiotrZSL added a comment.
This revision is now accepted and ready to land.

+- LGTM



================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:217
 - Improved :doc:`bugprone-use-after-move
-  <clang-tidy/checks/bugprone/use-after-move>` check to also cover constructor
-  initializers.
+  <clang-tidy/checks/bugprone/use-after-move>` check: Detect uses and moves in
+  constructor initializers. Correctly handle constructor arguments as being
----------------
':' -> '.'


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148110



More information about the cfe-commits mailing list