#include "StaticAccessedThroughInstanceCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "llvm/ADT/StringRef.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::readability {
namespace {
AST_MATCHER(CXXMethodDecl, isStatic) { … }
}
static unsigned getNameSpecifierNestingLevel(const QualType &QType) { … }
void StaticAccessedThroughInstanceCheck::storeOptions(
ClangTidyOptions::OptionMap &Opts) { … }
void StaticAccessedThroughInstanceCheck::registerMatchers(MatchFinder *Finder) { … }
void StaticAccessedThroughInstanceCheck::check(
const MatchFinder::MatchResult &Result) { … }
}