clang-tools 20.0.0git
|
Namespaces | |
namespace | build |
namespace | objc |
namespace | readability |
namespace | runtime |
Classes | |
class | DefaultArgumentsCheck |
Checks that default parameters are not given for virtual methods. More... | |
class | ExplicitConstructorCheck |
Checks that all single-argument constructors are explicit. More... | |
class | GoogleModule |
class | UpgradeGoogletestCaseCheck |
Finds uses of deprecated Googletest APIs with names containing "case" and replaces them with equivalent names containing "suite". More... | |
Functions | |
static SourceRange | findToken (const SourceManager &Sources, const LangOptions &LangOpts, SourceLocation StartLoc, SourceLocation EndLoc, bool(*Pred)(const Token &)) |
static bool | declIsStdInitializerList (const NamedDecl *D) |
static bool | isStdInitializerList (QualType Type) |
static ClangTidyModuleRegistry::Add< GoogleModule > | X ("google-module", "Adds Google lint checks.") |
static std::optional< llvm::StringRef > | getNewMacroName (llvm::StringRef MacroName) |
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) |
Variables | |
static const llvm::StringRef | RenameCaseToSuiteMessage |
|
static |
Definition at line 60 of file ExplicitConstructorCheck.cpp.
Referenced by isStdInitializerList().
|
static |
Definition at line 243 of file UpgradeGoogletestCaseCheck.cpp.
Referenced by clang::tidy::google::UpgradeGoogletestCaseCheck::check().
|
static |
Definition at line 36 of file ExplicitConstructorCheck.cpp.
Referenced by clang::tidy::google::ExplicitConstructorCheck::check().
|
static |
Definition at line 255 of file UpgradeGoogletestCaseCheck.cpp.
Referenced by clang::tidy::google::UpgradeGoogletestCaseCheck::check().
|
static |
Definition at line 25 of file UpgradeGoogletestCaseCheck.cpp.
References MacroName.
|
static |
Definition at line 206 of file UpgradeGoogletestCaseCheck.cpp.
Referenced by clang::tidy::google::UpgradeGoogletestCaseCheck::check().
|
static |
Definition at line 229 of file UpgradeGoogletestCaseCheck.cpp.
References Node.
Referenced by clang::tidy::google::UpgradeGoogletestCaseCheck::check().
|
static |
Definition at line 235 of file UpgradeGoogletestCaseCheck.cpp.
References Node.
|
static |
Definition at line 67 of file ExplicitConstructorCheck.cpp.
References declIsStdInitializerList(), and Type.
Referenced by clang::tidy::google::ExplicitConstructorCheck::check().
|
static |
|
static |
Definition at line 20 of file UpgradeGoogletestCaseCheck.cpp.
Referenced by clang::tidy::google::UpgradeGoogletestCaseCheck::check().