llvm/clang-tools-extra/clang-tidy/readability/RedundantStringInitCheck.cpp

//===- RedundantStringInitCheck.cpp - clang-tidy ----------------*- C++ -*-===//
//
// 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 "RedundantStringInitCheck.h"
#include "../utils/Matchers.h"
#include "../utils/OptionsUtils.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include <optional>

usingnamespaceclang::ast_matchers;
usingnamespaceclang::tidy::matchers;

namespace clang::tidy::readability {

const char DefaultStringNames[] =;

static std::vector<StringRef> removeNamespaces(ArrayRef<StringRef> Names) {}

static const CXXConstructExpr *
getConstructExpr(const CXXCtorInitializer &CtorInit) {}

static std::optional<SourceRange>
getConstructExprArgRange(const CXXConstructExpr &Construct) {}

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

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

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

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

} // namespace clang::tidy::readability