I noticed while reviewing a PR that some static class member functions are accessed by instance instead of class. I believe this makes the code misleading. This PR enables the clang-tidy check 'readability-static-accessed-through-instance'.
Checks for member expressions that access static members through instances, and replaces them with uses of the appropriate qualified-id.
https://clang.llvm.org/extra/clang-tidy/checks/readability/static-accessed-through-instance.html
I used the -fix option of clang-tidy to discover and fix these issues.