clang-tools 22.0.0git
|
Finds local variables that cannot be automatically moved due to constness. More...
#include <NoAutomaticMoveCheck.h>
Public Member Functions | |
NoAutomaticMoveCheck (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 |
Finds local variables that cannot be automatically moved due to constness.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/performance/no-automatic-move.html
Definition at line 19 of file NoAutomaticMoveCheck.h.
clang::tidy::performance::NoAutomaticMoveCheck::NoAutomaticMoveCheck | ( | StringRef | Name, |
ClangTidyContext * | Context ) |
Definition at line 25 of file NoAutomaticMoveCheck.cpp.
|
override |
Definition at line 71 of file NoAutomaticMoveCheck.cpp.
|
inlineoverride |
Definition at line 22 of file NoAutomaticMoveCheck.h.
|
override |
Definition at line 31 of file NoAutomaticMoveCheck.cpp.
References clang::tidy::matchers::matchesAnyListedName().
|
override |
Definition at line 78 of file NoAutomaticMoveCheck.cpp.
References clang::tidy::utils::options::serializeStringList().