1.. title:: clang-tidy - readability-convert-member-functions-to-static
2
3readability-convert-member-functions-to-static
4==============================================
5
6Finds non-static member functions that can be made ``static``
7because the functions don't use ``this``.
8
9After applying modifications as suggested by the check, running the check again
10might find more opportunities to mark member functions ``static``.
11
12After making a member function ``static``, you might want to run the check
13`readability-static-accessed-through-instance <readability-static-accessed-through-instance.html>`_ to replace calls like
14``Instance.method()`` by ``Class::method()``.
15