[all-commits] [llvm/llvm-project] b70e6e: [clang-tidy] Warn only for copyable/movable classe...

Carlos Galvez via All-commits all-commits at lists.llvm.org
Wed Jul 19 05:06:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b70e6e9681925ad06d9899462b9e43250be53f64
      https://github.com/llvm/llvm-project/commit/b70e6e9681925ad06d9899462b9e43250be53f64
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-const-or-ref-data-members.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-const-or-ref-data-members.cpp

  Log Message:
  -----------
  [clang-tidy] Warn only for copyable/movable classes in cppcoreguidelines-avoid-const-or-ref-members

Since that's what the guidelines require.

Fixes #63733

Differential Revision: https://reviews.llvm.org/D155625




More information about the All-commits mailing list