llvm/clang-tools-extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp

//===--- UpgradeGoogletestCaseCheck.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 "UpgradeGoogletestCaseCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include <optional>

usingnamespaceclang::ast_matchers;

namespace clang::tidy::google {

static const llvm::StringRef RenameCaseToSuiteMessage =;

static std::optional<llvm::StringRef>
getNewMacroName(llvm::StringRef MacroName) {}

namespace {

class UpgradeGoogletestCasePPCallback : public PPCallbacks {};

} // namespace

void UpgradeGoogletestCaseCheck::registerPPCallbacks(const SourceManager &,
                                                     Preprocessor *PP,
                                                     Preprocessor *) {}

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

static llvm::StringRef getNewMethodName(llvm::StringRef CurrentName) {}

template <typename NodeType>
static bool isInInstantiation(const NodeType &Node,
                              const MatchFinder::MatchResult &Result) {}

template <typename NodeType>
static bool isInTemplate(const NodeType &Node,
                         const MatchFinder::MatchResult &Result) {}

static bool
derivedTypeHasReplacementMethod(const MatchFinder::MatchResult &Result,
                                llvm::StringRef ReplacementMethod) {}

static CharSourceRange
getAliasNameRange(const MatchFinder::MatchResult &Result) {}

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

} // namespace clang::tidy::google