clang-tools 19.0.0git
Classes | Functions | Variables
clang::tidy::google::readability Namespace Reference

Classes

class  AvoidCStyleCastsCheck
 Finds usages of C-style casts. More...
 
class  AvoidUnderscoreInGoogletestNameCheck
 For the user-facing documentation see: http://clang.llvm.org/extra/clang-tidy/checks/google/readability-avoid-underscore-in-googletest-name.html. More...
 
class  GlobalNamesInHeadersCheck
 Flag global namespace pollution in header files. More...
 
class  TodoCommentCheck
 Finds TODO comments without a username or bug number. More...
 

Functions

static bool needsConstCast (QualType SourceType, QualType DestType)
 
static bool pointedUnqualifiedTypesAreEqual (QualType T1, QualType T2)
 
static clang::CharSourceRange getReplaceRange (const ExplicitCastExpr *Expr)
 
static StringRef getDestTypeString (const SourceManager &SM, const LangOptions &LangOpts, const ExplicitCastExpr *Expr)
 
static bool isGoogletestTestMacro (StringRef MacroName)
 

Variables

constexpr llvm::StringLiteral KDisabledTestPrefix = "DISABLED_"
 

Function Documentation

◆ getDestTypeString()

static StringRef clang::tidy::google::readability::getDestTypeString ( const SourceManager &  SM,
const LangOptions &  LangOpts,
const ExplicitCastExpr *  Expr 
)
static

◆ getReplaceRange()

static clang::CharSourceRange clang::tidy::google::readability::getReplaceRange ( const ExplicitCastExpr *  Expr)
static

◆ isGoogletestTestMacro()

static bool clang::tidy::google::readability::isGoogletestTestMacro ( StringRef  MacroName)
static

Definition at line 24 of file AvoidUnderscoreInGoogletestNameCheck.cpp.

References MacroName.

◆ needsConstCast()

static bool clang::tidy::google::readability::needsConstCast ( QualType  SourceType,
QualType  DestType 
)
static

◆ pointedUnqualifiedTypesAreEqual()

static bool clang::tidy::google::readability::pointedUnqualifiedTypesAreEqual ( QualType  T1,
QualType  T2 
)
static

Variable Documentation

◆ KDisabledTestPrefix

constexpr llvm::StringLiteral clang::tidy::google::readability::KDisabledTestPrefix = "DISABLED_"
constexpr

Definition at line 21 of file AvoidUnderscoreInGoogletestNameCheck.cpp.