SuccessChanges

Summary

  1. [clang-tidy] Add readability-make-member-function-const (details)
Commit 24130d661ed42c30f009b695d3c9ce57d2208b5e by gehre.matthias
[clang-tidy] Add readability-make-member-function-const
Summary: Finds non-static member functions that can be made ``const``
because the functions don't use ``this`` in a non-const way.
The check conservatively tries to preserve logical costness in favor of
physical costness. See readability-make-member-function-const.rst for
more details.
Reviewers: aaron.ballman, gribozavr, hokein, alexfh
Subscribers: mgorny, xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68074
The file was addedclang-tools-extra/clang-tidy/readability/MakeMemberFunctionConstCheck.cpp
The file was addedclang-tools-extra/docs/clang-tidy/checks/readability-make-member-function-const.rst
The file was modifiedclang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/clang-tidy/readability/CMakeLists.txt
The file was addedclang-tools-extra/clang-tidy/readability/MakeMemberFunctionConstCheck.h
The file was addedclang-tools-extra/test/clang-tidy/readability-make-member-function-const.cpp