llvm/clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp

//===--- UseDefaultMemberInitCheck.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 "UseDefaultMemberInitCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"

usingnamespaceclang::ast_matchers;

namespace clang::tidy::modernize {

namespace {
AST_MATCHER_P(InitListExpr, initCountIs, unsigned, N) {}
} // namespace

static StringRef getValueOfValueInit(const QualType InitType) {}

static bool isZero(const Expr *E) {}

static const Expr *ignoreUnaryPlus(const Expr *E) {}

static const Expr *getInitializer(const Expr *E) {}

static bool sameValue(const Expr *E1, const Expr *E2) {}

UseDefaultMemberInitCheck::UseDefaultMemberInitCheck(StringRef Name,
                                                     ClangTidyContext *Context)
    :{}

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

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

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

void UseDefaultMemberInitCheck::checkDefaultInit(
    const MatchFinder::MatchResult &Result, const CXXCtorInitializer *Init) {}

void UseDefaultMemberInitCheck::checkExistingInit(
    const MatchFinder::MatchResult &Result, const CXXCtorInitializer *Init) {}

} // namespace clang::tidy::modernize