#include "ForwardingReferenceOverloadCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::bugprone {
namespace {
AST_MATCHER(QualType, isEnableIf) { … }
AST_MATCHER_P(TemplateTypeParmDecl, hasDefaultArgument,
clang::ast_matchers::internal::Matcher<QualType>, TypeMatcher) { … }
AST_MATCHER(TemplateDecl, hasAssociatedConstraints) { … }
}
void ForwardingReferenceOverloadCheck::registerMatchers(MatchFinder *Finder) { … }
void ForwardingReferenceOverloadCheck::check(
const MatchFinder::MatchResult &Result) { … }
}