clang-tools 22.0.0git
clang::tidy::portability Namespace Reference

Classes

class  AvoidPragmaOnceCheck
 Finds uses of #pragma once and suggests replacing them with standard / include guards (#ifndef/#define/#endif) for improved portability. More...
class  PortabilityModule
class  PragmaOnceCallbacks
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()

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

◆ trySuggestX86()

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

◆ X()

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