llvm/clang-tools-extra/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.cpp

//===--- SmartPtrArrayMismatchCheck.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 "SmartPtrArrayMismatchCheck.h"
#include "../utils/ASTUtils.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"

usingnamespaceclang::ast_matchers;

namespace clang::tidy::bugprone {

namespace {

constexpr char ConstructExprN[] =;
constexpr char NewExprN[] =;
constexpr char ConstructorN[] =;

bool isInSingleDeclStmt(const DeclaratorDecl *D) {}

const DeclaratorDecl *getConstructedVarOrField(const Expr *FoundConstructExpr,
                                               ASTContext &Ctx) {}

} // namespace

const char SmartPtrArrayMismatchCheck::PointerTypeN[] =;

SmartPtrArrayMismatchCheck::SmartPtrArrayMismatchCheck(
    StringRef Name, ClangTidyContext *Context, StringRef SmartPointerName)
    :{}

void SmartPtrArrayMismatchCheck::storeOptions(
    ClangTidyOptions::OptionMap &Opts) {}

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

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

} // namespace clang::tidy::bugprone