#include "MultipleInheritanceCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang;
usingnamespaceclang::ast_matchers;
namespace clang::tidy::fuchsia {
namespace {
AST_MATCHER(CXXRecordDecl, hasBases) { … }
}
void MultipleInheritanceCheck::addNodeToInterfaceMap(const CXXRecordDecl *Node,
bool IsInterface) { … }
bool MultipleInheritanceCheck::getInterfaceStatus(const CXXRecordDecl *Node,
bool &IsInterface) const { … }
bool MultipleInheritanceCheck::isCurrentClassInterface(
const CXXRecordDecl *Node) const { … }
bool MultipleInheritanceCheck::isInterface(const CXXRecordDecl *Node) { … }
void MultipleInheritanceCheck::registerMatchers(MatchFinder *Finder) { … }
void MultipleInheritanceCheck::check(const MatchFinder::MatchResult &Result) { … }
}