[all-commits] [llvm/llvm-project] 461dcd: [clang-tidy] Fix handling of members in readabilit...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Wed Jun 5 11:17:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 461dcd4a000fa2b88759a275bc6803b89efc5972
      https://github.com/llvm/llvm-project/commit/461dcd4a000fa2b88759a275bc6803b89efc5972
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-member-init.cpp

  Log Message:
  -----------
  [clang-tidy] Fix handling of members in readability-redundant-member-init (#93217)

Compare class type instead of just assuming
that called constructor belong to same class.

Fixes #91605



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