#include "UseUsingCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclGroup.h"
#include "clang/Lex/Lexer.h"
usingnamespaceclang::ast_matchers;
namespace {
AST_MATCHER(clang::LinkageSpecDecl, isExternCLinkage) { … }
}
namespace clang::tidy::modernize {
static constexpr llvm::StringLiteral ExternCDeclName = …;
static constexpr llvm::StringLiteral ParentDeclName = …;
static constexpr llvm::StringLiteral TagDeclName = …;
static constexpr llvm::StringLiteral TypedefName = …;
static constexpr llvm::StringLiteral DeclStmtName = …;
UseUsingCheck::UseUsingCheck(StringRef Name, ClangTidyContext *Context)
: … { … }
void UseUsingCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
void UseUsingCheck::registerMatchers(MatchFinder *Finder) { … }
void UseUsingCheck::check(const MatchFinder::MatchResult &Result) { … }
}