[all-commits] [llvm/llvm-project] c27483: [clang-tidy] bugprone-unhandled-self-assignment: f...

flovent via All-commits all-commits at lists.llvm.org
Tue Jan 7 04:56:44 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c27483763c883ad268ba61249d1c0274a719e2d6
      https://github.com/llvm/llvm-project/commit/c27483763c883ad268ba61249d1c0274a719e2d6
  Author: flovent <144676429+flovent at users.noreply.github.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/unhandled-self-assignment.cpp

  Log Message:
  -----------
  [clang-tidy] bugprone-unhandled-self-assignment: fix smart pointer check against std::unique_ptr type (#121266)

Unlike other standard smart pointer types, std::unique_ptr has two
template arguments.
testcase need to be updated too.



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