llvm/clang-tools-extra/clang-tidy/performance/TriviallyDestructibleCheck.cpp

//===--- TriviallyDestructibleCheck.cpp - clang-tidy ----------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#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) {}

} // namespace

void TriviallyDestructibleCheck::registerMatchers(MatchFinder *Finder) {}

void TriviallyDestructibleCheck::check(const MatchFinder::MatchResult &Result) {}

} // namespace clang::tidy::performance