#include "ForbiddenSubclassingCheck.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/SmallVector.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::objc {
namespace {
constexpr char DefaultForbiddenSuperClassNames[] = …;
}
ForbiddenSubclassingCheck::ForbiddenSubclassingCheck(
StringRef Name,
ClangTidyContext *Context)
: … { … }
void ForbiddenSubclassingCheck::registerMatchers(MatchFinder *Finder) { … }
void ForbiddenSubclassingCheck::check(
const MatchFinder::MatchResult &Result) { … }
void ForbiddenSubclassingCheck::storeOptions(
ClangTidyOptions::OptionMap &Opts) { … }
}