#include "UnconventionalAssignOperatorCheck.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::misc {
namespace {
AST_MATCHER_P(CXXMethodDecl, firstParameter,
ast_matchers::internal::Matcher<ParmVarDecl>, InnerMatcher) { … }
}
void UnconventionalAssignOperatorCheck::registerMatchers(
ast_matchers::MatchFinder *Finder) { … }
void UnconventionalAssignOperatorCheck::check(
const MatchFinder::MatchResult &Result) { … }
}