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

//===--- FasterStringFindCheck.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 "FasterStringFindCheck.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>

usingnamespaceclang::ast_matchers;

namespace clang::tidy::performance {

namespace {

std::optional<std::string> makeCharacterLiteral(const StringLiteral *Literal) {}

AST_MATCHER_FUNCTION(ast_matchers::internal::Matcher<Expr>,
                     hasSubstitutedType) {}

} // namespace

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

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

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

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

} // namespace clang::tidy::performance