[PATCH] D70052: [clang-tidy] Add misc-mutating-copy check

Gabor Bencze via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 17 08:02:50 PST 2019


gbencze updated this revision to Diff 229720.
gbencze added a comment.

Moved check to CERT module. 
Added warnings for calling mutating member functions.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70052/new/

https://reviews.llvm.org/D70052

Files:
  clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
  clang-tools-extra/clang-tidy/cert/CMakeLists.txt
  clang-tools-extra/clang-tidy/cert/MutatingCopyCheck.cpp
  clang-tools-extra/clang-tidy/cert/MutatingCopyCheck.h
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/cert-oop58-cpp.rst
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang-tools-extra/test/clang-tidy/checkers/cert-oop58-cpp.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70052.229720.patch
Type: text/x-patch
Size: 12213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191117/2b6c9224/attachment.bin>


More information about the cfe-commits mailing list