#include "MoveConstArgCheck.h"
#include "clang/Lex/Lexer.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::performance {
static void replaceCallWithArg(const CallExpr *Call, DiagnosticBuilder &Diag,
const SourceManager &SM,
const LangOptions &LangOpts) { … }
void MoveConstArgCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
void MoveConstArgCheck::registerMatchers(MatchFinder *Finder) { … }
bool IsRValueReferenceParam(const Expr *Invocation,
const QualType *InvocationParmType,
const Expr *Arg) { … }
void MoveConstArgCheck::check(const MatchFinder::MatchResult &Result) { … }
}