[all-commits] [llvm/llvm-project] 663166: [clang-tidy] properly handle private move construc...

Baranov Victor via All-commits all-commits at lists.llvm.org
Wed Jul 9 09:05:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66316657ab36e4a262c9a2fe378d25421e116487
      https://github.com/llvm/llvm-project/commit/66316657ab36e4a262c9a2fe378d25421e116487
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/pass-by-value.cpp

  Log Message:
  -----------
  [clang-tidy] properly handle private move constructors in `modernize-pass-by-value` check (#141304)

Fixed false positives when class passed by const-reference had a private
move constructor, which could not be used for a fix-it.

Closes https://github.com/llvm/llvm-project/issues/140236.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list