clang-tools 20.0.0git
Classes | Functions
clang::tidy::portability Namespace Reference

Classes

class  PortabilityModule
 
class  RestrictedIncludesPPCallbacks
 
class  RestrictSystemIncludesCheck
 Checks for allowed includes and suggests removal of any others. More...
 
class  SIMDIntrinsicsCheck
 Find SIMD intrinsics calls and suggest std::experimental::simd alternatives. More...
 
class  StdAllocatorConstCheck
 Report use of std::vector<const T> (and similar containers of const elements). More...
 
class  TemplateVirtualMemberFunctionCheck
 Upon instantiating a template class, non-virtual member functions don't have to be instantiated unless they are used. More...
 

Functions

static ClangTidyModuleRegistry::Add< PortabilityModuleX ("portability-module", "Adds portability-related checks.")
 
static StringRef trySuggestPpc (StringRef Name)
 
static StringRef trySuggestX86 (StringRef Name)
 

Function Documentation

◆ trySuggestPpc()

static StringRef clang::tidy::portability::trySuggestPpc ( StringRef  Name)
static

Definition at line 41 of file SIMDIntrinsicsCheck.cpp.

References Name.

Referenced by clang::tidy::portability::SIMDIntrinsicsCheck::check().

◆ trySuggestX86()

static StringRef clang::tidy::portability::trySuggestX86 ( StringRef  Name)
static

Definition at line 56 of file SIMDIntrinsicsCheck.cpp.

References Name.

Referenced by clang::tidy::portability::SIMDIntrinsicsCheck::check().

◆ X()

static ClangTidyModuleRegistry::Add< PortabilityModule > clang::tidy::portability::X ( "portability-module"  ,
"Adds portability-related checks."   
)
static