clang-tools  4.0.0
Classes | Functions
clang::tidy::performance Namespace Reference

Classes

class  FasterStringFindCheck
 Optimize calls to std::string::find() and friends when the needle passed is a single character string literal. More...
 
class  ForRangeCopyCheck
 A check that detects copied loop variables and suggests using const references. More...
 
class  ImplicitCastInLoopCheck
 
class  InefficientStringConcatenationCheck
 This check is to warn about the performance overhead arising from concatenating strings, using the operator+, instead of operator+=. More...
 
class  PerformanceModule
 
class  TypePromotionInMathFnCheck
 Finds calls to C math library functions with implicit float to double promotions. More...
 
class  UnnecessaryCopyInitialization
 
class  UnnecessaryValueParamCheck
 A check that flags value parameters of expensive to copy types that can safely be converted to const references. More...
 

Functions

static
ClangTidyModuleRegistry::Add
< PerformanceModule
X ("performance-module","Adds performance checks.")
 

Function Documentation

static ClangTidyModuleRegistry::Add<PerformanceModule> clang::tidy::performance::X ( "performance-module"  ,
"Adds performance checks."   
)
static