#include "RedundantDeclarationCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::readability {
AST_MATCHER(FunctionDecl, doesDeclarationForceExternallyVisibleDefinition) { … }
RedundantDeclarationCheck::RedundantDeclarationCheck(StringRef Name,
ClangTidyContext *Context)
: … { … }
void RedundantDeclarationCheck::storeOptions(
ClangTidyOptions::OptionMap &Opts) { … }
void RedundantDeclarationCheck::registerMatchers(MatchFinder *Finder) { … }
void RedundantDeclarationCheck::check(const MatchFinder::MatchResult &Result) { … }
}