clang-tools 22.0.0git
|
Finds non-static member functions that can be made 'const'. More...
#include <MakeMemberFunctionConstCheck.h>
Public Member Functions | |
MakeMemberFunctionConstCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds non-static member functions that can be made 'const'.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/make-member-function-const.html
Definition at line 20 of file MakeMemberFunctionConstCheck.h.
|
inline |
Definition at line 22 of file MakeMemberFunctionConstCheck.h.
|
override |
Definition at line 255 of file MakeMemberFunctionConstCheck.cpp.
References clang::tidy::readability::getConstInsertionPoint().
|
inlineoverride |
Definition at line 24 of file MakeMemberFunctionConstCheck.h.
|
override |
Definition at line 221 of file MakeMemberFunctionConstCheck.cpp.