#include "TriviallyDestructibleCheck.h"
#include "../utils/LexerUtils.h"
#include "../utils/Matchers.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
usingnamespaceclang::ast_matchers::internal;
usingnamespaceclang::tidy::matchers;
namespace clang::tidy::performance {
namespace {
AST_MATCHER(Decl, isFirstDecl) { … }
AST_MATCHER_P(CXXRecordDecl, hasBase, Matcher<QualType>, InnerMatcher) { … }
}
void TriviallyDestructibleCheck::registerMatchers(MatchFinder *Finder) { … }
void TriviallyDestructibleCheck::check(const MatchFinder::MatchResult &Result) { … }
}