[PATCH] D155625: [clang-tidy] Warn only for copyable/movable classes in cppcoreguidelines-avoid-const-or-ref-members
Carlos Galvez via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 18 10:18:45 PDT 2023
carlosgalvezp created this revision.
Herald added subscribers: PiotrZSL, shchenz, kbarton, xazax.hun, nemanjai.
Herald added a reviewer: njames93.
Herald added a project: All.
carlosgalvezp requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Since that's what the guidelines require.
Fixes #63733
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155625
Files:
clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-const-or-ref-data-members.rst
clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-const-or-ref-data-members.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155625.541622.patch
Type: text/x-patch
Size: 9474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230718/95deb3e1/attachment.bin>
More information about the cfe-commits
mailing list