clang-tools 22.0.0git
|
Prefer using transparent functors to non-transparent ones. More...
#include <UseTransparentFunctorsCheck.h>
Public Member Functions | |
UseTransparentFunctorsCheck (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 |
void | storeOptions (ClangTidyOptions::OptionMap &Opts) override |
Prefer using transparent functors to non-transparent ones.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-transparent-functors.html
Definition at line 20 of file UseTransparentFunctorsCheck.h.
clang::tidy::modernize::UseTransparentFunctorsCheck::UseTransparentFunctorsCheck | ( | StringRef | Name, |
ClangTidyContext * | Context ) |
Definition at line 16 of file UseTransparentFunctorsCheck.cpp.
|
override |
Definition at line 73 of file UseTransparentFunctorsCheck.cpp.
References clang::tidy::modernize::getInnerTypeLocAs(), and clang::tidy::modernize::Message.
|
inlineoverride |
Definition at line 23 of file UseTransparentFunctorsCheck.h.
|
override |
Definition at line 25 of file UseTransparentFunctorsCheck.cpp.
|
override |
Definition at line 20 of file UseTransparentFunctorsCheck.cpp.