#include "NoAutomaticMoveCheck.h"
#include "../utils/Matchers.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::performance {
namespace {
AST_MATCHER(VarDecl, isNRVOVariable) { … }
}
NoAutomaticMoveCheck::NoAutomaticMoveCheck(StringRef Name,
ClangTidyContext *Context)
: … { … }
void NoAutomaticMoveCheck::registerMatchers(MatchFinder *Finder) { … }
void NoAutomaticMoveCheck::check(const MatchFinder::MatchResult &Result) { … }
void NoAutomaticMoveCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
}