#include "DefinitionsInHeadersCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::misc {
namespace {
AST_MATCHER_P(NamedDecl, usesHeaderFileExtension, FileExtensionsSet,
HeaderFileExtensions) { … }
}
DefinitionsInHeadersCheck::DefinitionsInHeadersCheck(StringRef Name,
ClangTidyContext *Context)
: … { … }
void DefinitionsInHeadersCheck::registerMatchers(MatchFinder *Finder) { … }
void DefinitionsInHeadersCheck::check(const MatchFinder::MatchResult &Result) { … }
}