clang-tools 22.0.0git
|
Finds uses of deprecated Googletest APIs with names containing "case" and replaces them with equivalent names containing "suite". More...
#include <UpgradeGoogletestCaseCheck.h>
Public Member Functions | |
UpgradeGoogletestCaseCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds uses of deprecated Googletest APIs with names containing "case" and replaces them with equivalent names containing "suite".
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/google/upgrade-googletest-case.html
Definition at line 21 of file UpgradeGoogletestCaseCheck.h.
|
inline |
Definition at line 23 of file UpgradeGoogletestCaseCheck.h.
|
override |
Definition at line 269 of file UpgradeGoogletestCaseCheck.cpp.
References clang::tidy::google::derivedTypeHasReplacementMethod(), clang::tidy::google::getAliasNameRange(), clang::tidy::google::getNewMethodName(), clang::tidy::google::isInInstantiation(), clang::tidy::google::isInTemplate(), and clang::tidy::google::RenameCaseToSuiteMessage.
|
inlineoverride |
Definition at line 25 of file UpgradeGoogletestCaseCheck.h.
|
override |
Definition at line 129 of file UpgradeGoogletestCaseCheck.cpp.
|
override |
Definition at line 122 of file UpgradeGoogletestCaseCheck.cpp.