#include "MissingStdForwardCheck.h"
#include "../utils/Matchers.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Basic/IdentifierTable.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::cppcoreguidelines {
namespace {
hasUnevaluatedContext;
AST_MATCHER_P(QualType, possiblyPackExpansionOf,
ast_matchers::internal::Matcher<QualType>, InnerMatcher) { … }
AST_MATCHER(ParmVarDecl, isTemplateTypeParameter) { … }
AST_MATCHER_P(NamedDecl, hasSameNameAsBoundNode, std::string, BindingID) { … }
AST_MATCHER_P(LambdaCapture, hasCaptureKind, LambdaCaptureKind, Kind) { … }
AST_MATCHER_P(LambdaExpr, hasCaptureDefaultKind, LambdaCaptureDefault, Kind) { … }
AST_MATCHER(VarDecl, hasIdentifier) { … }
}
void MissingStdForwardCheck::registerMatchers(MatchFinder *Finder) { … }
void MissingStdForwardCheck::check(const MatchFinder::MatchResult &Result) { … }
}