clang-tools 23.0.0git
clang::tidy::performance::UseStdMoveCheck Class Reference

#include <UseStdMoveCheck.h>

Inheritance diagram for clang::tidy::performance::UseStdMoveCheck:
[legend]

Public Member Functions

 UseStdMoveCheck (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

Detailed Description

Definition at line 18 of file UseStdMoveCheck.h.

Constructor & Destructor Documentation

◆ UseStdMoveCheck()

clang::tidy::performance::UseStdMoveCheck::UseStdMoveCheck ( StringRef Name,
ClangTidyContext * Context )
inline

Definition at line 20 of file UseStdMoveCheck.h.

Member Function Documentation

◆ check()

void clang::tidy::performance::UseStdMoveCheck::check ( const ast_matchers::MatchFinder::MatchResult & Result)
override

Definition at line 93 of file UseStdMoveCheck.cpp.

References clang::tidy::performance::allDeclRefExprs().

◆ isLanguageVersionSupported()

bool clang::tidy::performance::UseStdMoveCheck::isLanguageVersionSupported ( const LangOptions & LangOpts) const
inlineoverride

Definition at line 22 of file UseStdMoveCheck.h.

◆ registerMatchers()

void clang::tidy::performance::UseStdMoveCheck::registerMatchers ( ast_matchers::MatchFinder * Finder)
override

Definition at line 58 of file UseStdMoveCheck.cpp.


The documentation for this class was generated from the following files: