clang-tools  11.0.0
Namespaces | Classes | Typedefs | Functions | Variables
clang::tidy Namespace Reference

Namespaces

 abseil
 
 android
 
 boost
 
 bugprone
 
 cert
 
 cppcoreguidelines
 
 darwin
 
 fuchsia
 
 google
 
 hicpp
 
 linuxkernel
 
 llvm_check
 
 llvm_libc
 
 matchers
 
 misc
 
 modernize
 
 mpi
 
 objc
 
 openmp
 
 performance
 
 portability
 
 readability
 
 utils
 
 zircon
 

Classes

class  ClangTidyASTConsumerFactory
 
class  ClangTidyCheck
 Base class for all clang-tidy checks. More...
 
class  ClangTidyCheckFactories
 A collection of ClangTidyCheckFactory instances. More...
 
class  ClangTidyContext
 Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context. More...
 
class  ClangTidyDiagnosticConsumer
 A diagnostic consumer that turns each Diagnostic into a SourceManager-independent ClangTidyError. More...
 
struct  ClangTidyError
 A detected error complete with information to display diagnostic and automatic fix. More...
 
struct  ClangTidyGlobalOptions
 Global options. More...
 
class  ClangTidyModule
 A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name. More...
 
struct  ClangTidyOptions
 Contains options for clang-tidy. More...
 
class  ClangTidyOptionsProvider
 Abstract interface for retrieving various ClangTidy options. More...
 
class  ClangTidyPluginAction
 The core clang tidy plugin action. More...
 
class  ClangTidyProfiling
 
struct  ClangTidyStats
 Contains displayed and ignored diagnostic counters for a ClangTidy run. More...
 
class  ConfigOptionsProvider
 Implementation of ClangTidyOptions interface, which is used for '-config' command-line option. More...
 
class  DefaultOptionsProvider
 Implementation of the ClangTidyOptionsProvider interface, which returns the same options for all files. More...
 
struct  FileFilter
 Contains a list of line ranges in a single file. More...
 
class  FileOptionsBaseProvider
 
class  FileOptionsProvider
 Implementation of the ClangTidyOptionsProvider interface, which tries to find a configuration file in the closest parent directory of each source file. More...
 
class  GlobList
 Read-only set of strings represented as a list of positive and negative globs. More...
 
class  MissingOptionError
 
struct  OptionEnumMapping
 This class should be specialized by any enum type that needs to be converted to and from an llvm::StringRef. More...
 
struct  OptionEnumMapping< modernize::Confidence::Level >
 
struct  OptionEnumMapping< modernize::VariableNamer::NamingStyle >
 
struct  OptionEnumMapping< readability::IdentifierNamingCheck::CaseType >
 
struct  OptionEnumMapping< utils::IncludeSorter::IncludeStyle >
 
class  OptionError
 
class  RenamerClangTidyCheck
 Base class for clang-tidy checks that want to flag declarations and/or macros for renaming based on customizable criteria. More...
 
class  UnparseableEnumOptionError
 
class  UnparseableIntegerOptionError
 

Typedefs

typedef llvm::Registry< ClangTidyModuleClangTidyModuleRegistry
 

Functions

static ClangTidyModuleRegistry::Add< bugprone::BugproneModuleX ("bugprone-module", "Adds checks for bugprone code constructs.")
 
static ClangTidyModuleRegistry::Add< cert::CERTModuleX ("cert-module", "Adds lint checks corresponding to CERT secure coding guidelines.")
 
std::vector< std::string > getCheckNames (const ClangTidyOptions &Options, bool AllowEnablingAnalyzerAlphaCheckers)
 Fills the list of check names that are enabled when the provided filters are applied. More...
 
ClangTidyOptions::OptionMap getCheckOptions (const ClangTidyOptions &Options, bool AllowEnablingAnalyzerAlphaCheckers)
 Returns the effective check-specific options. More...
 
std::vector< ClangTidyErrorrunClangTidy (clang::tidy::ClangTidyContext &Context, const CompilationDatabase &Compilations, ArrayRef< std::string > InputFiles, llvm::IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem > BaseFS, bool EnableCheckProfile, llvm::StringRef StoreCheckProfile)
 
void handleErrors (llvm::ArrayRef< ClangTidyError > Errors, ClangTidyContext &Context, bool Fix, unsigned &WarningsAsErrorsCount, llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > BaseFS)
 Displays the found Errors to the users. More...
 
void exportReplacements (const llvm::StringRef MainFilePath, const std::vector< ClangTidyError > &Errors, raw_ostream &OS)
 
std::vector< ClangTidyErrorrunClangTidy (clang::tidy::ClangTidyContext &Context, const tooling::CompilationDatabase &Compilations, ArrayRef< std::string > InputFiles, llvm::IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem > BaseFS, bool EnableCheckProfile=false, llvm::StringRef StoreCheckProfile=StringRef())
 Run a set of clang-tidy checks on a set of files. More...
 
void exportReplacements (StringRef MainFilePath, const std::vector< ClangTidyError > &Errors, raw_ostream &OS)
 Serializes replacements into YAML and writes them to the specified output stream. More...
 
static ClangTidyOptions::OptionMap::const_iterator findPriorityOption (const ClangTidyOptions::OptionMap &Options, StringRef NamePrefix, StringRef LocalName)
 
static llvm::Expected< bool > getAsBool (StringRef Value, const llvm::Twine &LookupName)
 
bool shouldSuppressDiagnostic (DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info, ClangTidyContext &Context, bool AllowIO=true)
 Check whether a given diagnostic should be suppressed due to the presence of a "NOLINT" suppression comment. More...
 
template<typename T >
static void mergeVectors (Optional< T > &Dest, const Optional< T > &Src)
 
static void mergeCommaSeparatedLists (Optional< std::string > &Dest, const Optional< std::string > &Src)
 
template<typename T >
static void overrideValue (Optional< T > &Dest, const Optional< T > &Src)
 
std::error_code parseLineFilter (StringRef LineFilter, clang::tidy::ClangTidyGlobalOptions &Options)
 Parses -line-filter option and stores it to the Options. More...
 
llvm::ErrorOr< ClangTidyOptionsparseConfiguration (StringRef Config)
 
std::string configurationAsText (const ClangTidyOptions &Options)
 Serializes configuration to a YAML-encoded string. More...
 
std::error_code parseLineFilter (llvm::StringRef LineFilter, ClangTidyGlobalOptions &Options)
 Parses LineFilter from JSON and stores it to the Options. More...
 
llvm::ErrorOr< ClangTidyOptionsparseConfiguration (llvm::StringRef Config)
 Parses configuration from JSON and returns ClangTidyOptions or an error. More...
 
static ClangTidyModuleRegistry::Add< darwin::DarwinModuleX ("darwin-module", "Adds Darwin-specific lint checks.")
 
static ClangTidyModuleRegistry::Add< misc::MiscModuleX ("misc-module", "Adds miscellaneous lint checks.")
 
static ClangTidyModuleRegistry::Add< mpi::MPIModuleX ("mpi-module", "Adds MPI clang-tidy checks.")
 
static void printStats (const ClangTidyStats &Stats)
 
static std::unique_ptr< ClangTidyOptionsProvidercreateOptionsProvider (llvm::IntrusiveRefCntPtr< vfs::FileSystem > FS)
 
llvm::IntrusiveRefCntPtr< vfs::FileSystem > getVfsFromFile (const std::string &OverlayFile, llvm::IntrusiveRefCntPtr< vfs::FileSystem > BaseFS)
 
int clangTidyMain (int argc, const char **argv)
 
const NamedDecl * findDecl (const RecordDecl &RecDecl, StringRef DeclName)
 
NameLookup findDeclInBases (const CXXRecordDecl &Parent, StringRef DeclName, bool AggressiveTemplateLookup)
 Returns a decl matching the DeclName in Parent or one of its base classes. More...
 
static std::string getDiagnosticSuffix (const RenamerClangTidyCheck::ShouldFixStatus FixStatus, const std::string &Fixup)
 

Variables

volatile int AbseilModuleAnchorSource = 0
 
volatile int AndroidModuleAnchorSource = 0
 
volatile int BoostModuleAnchorSource = 0
 
volatile int BugproneModuleAnchorSource = 0
 
volatile int CERTModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED AbseilModuleAnchorDestination
 
static int LLVM_ATTRIBUTE_UNUSED AndroidModuleAnchorDestination
 
static int LLVM_ATTRIBUTE_UNUSED BoostModuleAnchorDestination
 
static int LLVM_ATTRIBUTE_UNUSED BugproneModuleAnchorDestination
 
static int LLVM_ATTRIBUTE_UNUSED CERTModuleAnchorDestination
 
volatile int CppCoreGuidelinesModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED CppCoreGuidelinesModuleAnchorDestination
 
volatile int DarwinModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED DarwinModuleAnchorDestination
 
volatile int FuchsiaModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED FuchsiaModuleAnchorDestination
 
volatile int GoogleModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED GoogleModuleAnchorDestination
 
volatile int HICPPModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED HICPPModuleAnchorDestination
 
volatile int LinuxKernelModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED LinuxKernelModuleAnchorDestination
 
volatile int LLVMModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED LLVMModuleAnchorDestination
 
volatile int LLVMLibcModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED LLVMLibcModuleAnchorDestination
 
volatile int MiscModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED MiscModuleAnchorDestination
 
volatile int ModernizeModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED ModernizeModuleAnchorDestination
 
volatile int ObjCModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED ObjCModuleAnchorDestination
 
volatile int OpenMPModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED OpenMPModuleAnchorDestination
 
volatile int PerformanceModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED PerformanceModuleAnchorDestination
 
volatile int PortabilityModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED PortabilityModuleAnchorDestination
 
volatile int ReadabilityModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED ReadabilityModuleAnchorDestination
 
volatile int ZirconModuleAnchorSource = 0
 
static int LLVM_ATTRIBUTE_UNUSED ZirconModuleAnchorDestination
 
volatile int MPIModuleAnchorSource = 0
 

Typedef Documentation

◆ ClangTidyModuleRegistry

Definition at line 18 of file ClangTidyModuleRegistry.h.

Function Documentation

◆ clangTidyMain()

int clang::tidy::clangTidyMain ( int  argc,
const char **  argv 
)

Definition at line 217 of file ClangTidyMain.cpp.

Referenced by main().

◆ configurationAsText()

std::string clang::tidy::configurationAsText ( const ClangTidyOptions Options)

Serializes configuration to a YAML-encoded string.

Definition at line 388 of file ClangTidyOptions.cpp.

References Output, and Text.

Referenced by clang::clangd::ParsedAST::build().

◆ createOptionsProvider()

static std::unique_ptr<ClangTidyOptionsProvider> clang::tidy::createOptionsProvider ( llvm::IntrusiveRefCntPtr< vfs::FileSystem >  FS)
static

Definition at line 144 of file ClangTidyMain.cpp.

◆ exportReplacements() [1/2]

void clang::tidy::exportReplacements ( const llvm::StringRef  MainFilePath,
const std::vector< ClangTidyError > &  Errors,
raw_ostream &  OS 
)

Definition at line 603 of file ClangTidy.cpp.

References Diagnostic, OS, and Output.

◆ exportReplacements() [2/2]

void clang::tidy::exportReplacements ( StringRef  MainFilePath,
const std::vector< ClangTidyError > &  Errors,
raw_ostream &  OS 
)

Serializes replacements into YAML and writes them to the specified output stream.

◆ findDecl()

const NamedDecl* clang::tidy::findDecl ( const RecordDecl &  RecDecl,
StringRef  DeclName 
)

Definition at line 180 of file RenamerClangTidyCheck.cpp.

References Decl.

Referenced by findDeclInBases().

◆ findDeclInBases()

NameLookup clang::tidy::findDeclInBases ( const CXXRecordDecl &  Parent,
StringRef  DeclName,
bool  AggressiveTemplateLookup 
)

Returns a decl matching the DeclName in Parent or one of its base classes.

If AggressiveTemplateLookup is true then it will check template dependent base classes as well. If a matching decl is found in multiple base classes then it will return a flag indicating the multiple resolutions.

Definition at line 215 of file RenamerClangTidyCheck.cpp.

References Base, findDecl(), and Parent.

◆ findPriorityOption()

static ClangTidyOptions::OptionMap::const_iterator clang::tidy::findPriorityOption ( const ClangTidyOptions::OptionMap Options,
StringRef  NamePrefix,
StringRef  LocalName 
)
static

◆ getAsBool()

static llvm::Expected<bool> clang::tidy::getAsBool ( StringRef  Value,
const llvm::Twine &  LookupName 
)
static

◆ getCheckNames()

std::vector< std::string > clang::tidy::getCheckNames ( const ClangTidyOptions Options,
bool  AllowEnablingAnalyzerAlphaCheckers 
)

Fills the list of check names that are enabled when the provided filters are applied.

Definition at line 477 of file ClangTidy.cpp.

◆ getCheckOptions()

ClangTidyOptions::OptionMap clang::tidy::getCheckOptions ( const ClangTidyOptions Options,
bool  AllowEnablingAnalyzerAlphaCheckers 
)

Returns the effective check-specific options.

The method configures ClangTidy with the specified Options and collects effective options from all created checks. The returned set of options includes default check-specific options for all keys not overridden by Options.

Definition at line 488 of file ClangTidy.cpp.

◆ getDiagnosticSuffix()

static std::string clang::tidy::getDiagnosticSuffix ( const RenamerClangTidyCheck::ShouldFixStatus  FixStatus,
const std::string &  Fixup 
)
static

◆ getVfsFromFile()

llvm::IntrusiveRefCntPtr<vfs::FileSystem> clang::tidy::getVfsFromFile ( const std::string &  OverlayFile,
llvm::IntrusiveRefCntPtr< vfs::FileSystem >  BaseFS 
)

Definition at line 196 of file ClangTidyMain.cpp.

◆ handleErrors()

void clang::tidy::handleErrors ( llvm::ArrayRef< ClangTidyError Errors,
ClangTidyContext Context,
bool  Fix,
unsigned &  WarningsAsErrorsCount,
llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem >  BaseFS 
)

Displays the found Errors to the users.

If Fix is true, Errors containing fixes are automatically applied and reformatted. If no clang-format configuration file is found, the given \P FormatStyle is used.

Definition at line 576 of file ClangTidy.cpp.

◆ mergeCommaSeparatedLists()

static void clang::tidy::mergeCommaSeparatedLists ( Optional< std::string > &  Dest,
const Optional< std::string > &  Src 
)
static

Definition at line 135 of file ClangTidyOptions.cpp.

References Src.

◆ mergeVectors()

template<typename T >
static void clang::tidy::mergeVectors ( Optional< T > &  Dest,
const Optional< T > &  Src 
)
static

Definition at line 126 of file ClangTidyOptions.cpp.

References Src.

◆ overrideValue()

template<typename T >
static void clang::tidy::overrideValue ( Optional< T > &  Dest,
const Optional< T > &  Src 
)
static

Definition at line 142 of file ClangTidyOptions.cpp.

References Src.

◆ parseConfiguration() [1/2]

llvm::ErrorOr<ClangTidyOptions> clang::tidy::parseConfiguration ( llvm::StringRef  Config)

Parses configuration from JSON and returns ClangTidyOptions or an error.

◆ parseConfiguration() [2/2]

llvm::ErrorOr<ClangTidyOptions> clang::tidy::parseConfiguration ( StringRef  Config)

◆ parseLineFilter() [1/2]

std::error_code clang::tidy::parseLineFilter ( llvm::StringRef  LineFilter,
ClangTidyGlobalOptions Options 
)

Parses LineFilter from JSON and stores it to the Options.

◆ parseLineFilter() [2/2]

std::error_code clang::tidy::parseLineFilter ( StringRef  LineFilter,
clang::tidy::ClangTidyGlobalOptions Options 
)

Parses -line-filter option and stores it to the Options.

Definition at line 372 of file ClangTidyOptions.cpp.

◆ printStats()

static void clang::tidy::printStats ( const ClangTidyStats Stats)
static

Definition at line 116 of file ClangTidyMain.cpp.

◆ runClangTidy() [1/2]

std::vector<ClangTidyError> clang::tidy::runClangTidy ( clang::tidy::ClangTidyContext Context,
const CompilationDatabase &  Compilations,
ArrayRef< std::string >  InputFiles,
llvm::IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem >  BaseFS,
bool  EnableCheckProfile,
llvm::StringRef  StoreCheckProfile 
)

Definition at line 499 of file ClangTidy.cpp.

◆ runClangTidy() [2/2]

std::vector<ClangTidyError> clang::tidy::runClangTidy ( clang::tidy::ClangTidyContext Context,
const tooling::CompilationDatabase &  Compilations,
ArrayRef< std::string >  InputFiles,
llvm::IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem >  BaseFS,
bool  EnableCheckProfile = false,
llvm::StringRef  StoreCheckProfile = StringRef() 
)

Run a set of clang-tidy checks on a set of files.

Parameters
EnableCheckProfileIf provided, it enables check profile collection in MatchFinder, and will contain the result of the profile.
StoreCheckProfileIf provided, and EnableCheckProfile is true, the profile will not be output to stderr, but will instead be stored as a JSON file in the specified directory.

◆ shouldSuppressDiagnostic()

bool clang::tidy::shouldSuppressDiagnostic ( DiagnosticsEngine::Level  DiagLevel,
const Diagnostic Info,
ClangTidyContext Context,
bool  AllowIO = true 
)

Check whether a given diagnostic should be suppressed due to the presence of a "NOLINT" suppression comment.

This is exposed so that other tools that present clang-tidy diagnostics (such as clangd) can respect the same suppression rules as clang-tidy. This does not handle suppression of notes following a suppressed diagnostic; that is left to the caller is it requires maintaining state in between calls to this function. If AllowIO is false, the function does not attempt to read source files from disk which are not already mapped into memory; such files are treated as not containing a suppression comment.

Definition at line 364 of file ClangTidyDiagnosticConsumer.cpp.

◆ X() [1/5]

static ClangTidyModuleRegistry::Add<bugprone::BugproneModule> clang::tidy::X ( "bugprone-module"  ,
"Adds checks for bugprone code constructs."   
)
static

◆ X() [2/5]

static ClangTidyModuleRegistry::Add<cert::CERTModule> clang::tidy::X ( "cert-module"  ,
"Adds lint checks corresponding to CERT secure coding guidelines."   
)
static

◆ X() [3/5]

static ClangTidyModuleRegistry::Add<darwin::DarwinModule> clang::tidy::X ( "darwin-module"  ,
"Adds Darwin-specific lint checks."   
)
static

◆ X() [4/5]

static ClangTidyModuleRegistry::Add<misc::MiscModule> clang::tidy::X ( "misc-module"  ,
"Adds miscellaneous lint checks."   
)
static

◆ X() [5/5]

static ClangTidyModuleRegistry::Add<mpi::MPIModule> clang::tidy::X ( "mpi-module"  ,
"Adds MPI clang-tidy checks."   
)
static

Variable Documentation

◆ AbseilModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::AbseilModuleAnchorDestination
static
Initial value:

Definition at line 20 of file ClangTidyForceLinker.h.

◆ AbseilModuleAnchorSource

volatile int clang::tidy::AbseilModuleAnchorSource = 0

Definition at line 84 of file AbseilTidyModule.cpp.

◆ AndroidModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::AndroidModuleAnchorDestination
static
Initial value:

Definition at line 25 of file ClangTidyForceLinker.h.

◆ AndroidModuleAnchorSource

volatile int clang::tidy::AndroidModuleAnchorSource = 0

Definition at line 70 of file AndroidTidyModule.cpp.

◆ BoostModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::BoostModuleAnchorDestination
static
Initial value:

Definition at line 30 of file ClangTidyForceLinker.h.

◆ BoostModuleAnchorSource

volatile int clang::tidy::BoostModuleAnchorSource = 0

Definition at line 34 of file BoostTidyModule.cpp.

◆ BugproneModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::BugproneModuleAnchorDestination
static
Initial value:

Definition at line 35 of file ClangTidyForceLinker.h.

◆ BugproneModuleAnchorSource

volatile int clang::tidy::BugproneModuleAnchorSource = 0

Definition at line 192 of file BugproneTidyModule.cpp.

◆ CERTModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::CERTModuleAnchorDestination
static
Initial value:

Definition at line 40 of file ClangTidyForceLinker.h.

◆ CERTModuleAnchorSource

volatile int clang::tidy::CERTModuleAnchorSource = 0

Definition at line 136 of file CERTTidyModule.cpp.

◆ CppCoreGuidelinesModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::CppCoreGuidelinesModuleAnchorDestination
static
Initial value:

Definition at line 45 of file ClangTidyForceLinker.h.

◆ CppCoreGuidelinesModuleAnchorSource

volatile int clang::tidy::CppCoreGuidelinesModuleAnchorSource = 0

Definition at line 118 of file CppCoreGuidelinesTidyModule.cpp.

◆ DarwinModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::DarwinModuleAnchorDestination
static
Initial value:

Definition at line 50 of file ClangTidyForceLinker.h.

◆ DarwinModuleAnchorSource

volatile int clang::tidy::DarwinModuleAnchorSource = 0

Definition at line 37 of file DarwinTidyModule.cpp.

◆ FuchsiaModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::FuchsiaModuleAnchorDestination
static
Initial value:

Definition at line 55 of file ClangTidyForceLinker.h.

◆ FuchsiaModuleAnchorSource

volatile int clang::tidy::FuchsiaModuleAnchorSource = 0

Definition at line 56 of file FuchsiaTidyModule.cpp.

◆ GoogleModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::GoogleModuleAnchorDestination
static
Initial value:

Definition at line 60 of file ClangTidyForceLinker.h.

◆ GoogleModuleAnchorSource

volatile int clang::tidy::GoogleModuleAnchorSource = 0

Definition at line 107 of file GoogleTidyModule.cpp.

◆ HICPPModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::HICPPModuleAnchorDestination
static
Initial value:

Definition at line 65 of file ClangTidyForceLinker.h.

◆ HICPPModuleAnchorSource

volatile int clang::tidy::HICPPModuleAnchorSource = 0

Definition at line 121 of file HICPPTidyModule.cpp.

◆ LinuxKernelModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::LinuxKernelModuleAnchorDestination
static
Initial value:

Definition at line 70 of file ClangTidyForceLinker.h.

◆ LinuxKernelModuleAnchorSource

volatile int clang::tidy::LinuxKernelModuleAnchorSource = 0

Definition at line 34 of file LinuxKernelTidyModule.cpp.

◆ LLVMLibcModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::LLVMLibcModuleAnchorDestination
static
Initial value:

Definition at line 80 of file ClangTidyForceLinker.h.

◆ LLVMLibcModuleAnchorSource

volatile int clang::tidy::LLVMLibcModuleAnchorSource = 0

Definition at line 40 of file LLVMLibcTidyModule.cpp.

◆ LLVMModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::LLVMModuleAnchorDestination
static
Initial value:

Definition at line 75 of file ClangTidyForceLinker.h.

◆ LLVMModuleAnchorSource

volatile int clang::tidy::LLVMModuleAnchorSource = 0

Definition at line 61 of file LLVMTidyModule.cpp.

◆ MiscModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::MiscModuleAnchorDestination
static
Initial value:

Definition at line 85 of file ClangTidyForceLinker.h.

◆ MiscModuleAnchorSource

volatile int clang::tidy::MiscModuleAnchorSource = 0

Definition at line 70 of file MiscTidyModule.cpp.

◆ ModernizeModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::ModernizeModuleAnchorDestination
static
Initial value:

Definition at line 90 of file ClangTidyForceLinker.h.

◆ ModernizeModuleAnchorSource

volatile int clang::tidy::ModernizeModuleAnchorSource = 0

Definition at line 129 of file ModernizeTidyModule.cpp.

◆ MPIModuleAnchorSource

volatile int clang::tidy::MPIModuleAnchorSource = 0

Definition at line 35 of file MPITidyModule.cpp.

◆ ObjCModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::ObjCModuleAnchorDestination
static
Initial value:

Definition at line 103 of file ClangTidyForceLinker.h.

◆ ObjCModuleAnchorSource

volatile int clang::tidy::ObjCModuleAnchorSource = 0

Definition at line 55 of file ObjCTidyModule.cpp.

◆ OpenMPModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::OpenMPModuleAnchorDestination
static
Initial value:

Definition at line 108 of file ClangTidyForceLinker.h.

◆ OpenMPModuleAnchorSource

volatile int clang::tidy::OpenMPModuleAnchorSource = 0

Definition at line 38 of file OpenMPTidyModule.cpp.

◆ PerformanceModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::PerformanceModuleAnchorDestination
static
Initial value:

Definition at line 113 of file ClangTidyForceLinker.h.

◆ PerformanceModuleAnchorSource

volatile int clang::tidy::PerformanceModuleAnchorSource = 0

Definition at line 73 of file PerformanceTidyModule.cpp.

◆ PortabilityModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::PortabilityModuleAnchorDestination
static
Initial value:

Definition at line 118 of file ClangTidyForceLinker.h.

◆ PortabilityModuleAnchorSource

volatile int clang::tidy::PortabilityModuleAnchorSource = 0

Definition at line 37 of file PortabilityTidyModule.cpp.

◆ ReadabilityModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::ReadabilityModuleAnchorDestination
static
Initial value:

Definition at line 123 of file ClangTidyForceLinker.h.

◆ ReadabilityModuleAnchorSource

volatile int clang::tidy::ReadabilityModuleAnchorSource = 0

Definition at line 142 of file ReadabilityTidyModule.cpp.

◆ ZirconModuleAnchorDestination

int LLVM_ATTRIBUTE_UNUSED clang::tidy::ZirconModuleAnchorDestination
static
Initial value:

Definition at line 128 of file ClangTidyForceLinker.h.

◆ ZirconModuleAnchorSource

volatile int clang::tidy::ZirconModuleAnchorSource = 0

Definition at line 36 of file ZirconTidyModule.cpp.

clang::tidy::ReadabilityModuleAnchorSource
volatile int ReadabilityModuleAnchorSource
Definition: ReadabilityTidyModule.cpp:142
clang::tidy::LinuxKernelModuleAnchorSource
volatile int LinuxKernelModuleAnchorSource
Definition: LinuxKernelTidyModule.cpp:34
clang::tidy::FuchsiaModuleAnchorSource
volatile int FuchsiaModuleAnchorSource
Definition: FuchsiaTidyModule.cpp:56
clang::tidy::PerformanceModuleAnchorSource
volatile int PerformanceModuleAnchorSource
Definition: PerformanceTidyModule.cpp:73
clang::tidy::LLVMLibcModuleAnchorSource
volatile int LLVMLibcModuleAnchorSource
Definition: LLVMLibcTidyModule.cpp:40
clang::tidy::HICPPModuleAnchorSource
volatile int HICPPModuleAnchorSource
Definition: HICPPTidyModule.cpp:121
clang::tidy::PortabilityModuleAnchorSource
volatile int PortabilityModuleAnchorSource
Definition: PortabilityTidyModule.cpp:37
clang::tidy::AndroidModuleAnchorSource
volatile int AndroidModuleAnchorSource
Definition: AndroidTidyModule.cpp:70
clang::tidy::ZirconModuleAnchorSource
volatile int ZirconModuleAnchorSource
Definition: ZirconTidyModule.cpp:36
clang::tidy::OpenMPModuleAnchorSource
volatile int OpenMPModuleAnchorSource
Definition: OpenMPTidyModule.cpp:38
clang::tidy::MiscModuleAnchorSource
volatile int MiscModuleAnchorSource
Definition: MiscTidyModule.cpp:70
clang::tidy::LLVMModuleAnchorSource
volatile int LLVMModuleAnchorSource
Definition: LLVMTidyModule.cpp:61
clang::tidy::CppCoreGuidelinesModuleAnchorSource
volatile int CppCoreGuidelinesModuleAnchorSource
Definition: CppCoreGuidelinesTidyModule.cpp:118
clang::tidy::CERTModuleAnchorSource
volatile int CERTModuleAnchorSource
Definition: CERTTidyModule.cpp:136
clang::tidy::BoostModuleAnchorSource
volatile int BoostModuleAnchorSource
Definition: BoostTidyModule.cpp:34
clang::tidy::DarwinModuleAnchorSource
volatile int DarwinModuleAnchorSource
Definition: DarwinTidyModule.cpp:37
clang::tidy::ObjCModuleAnchorSource
volatile int ObjCModuleAnchorSource
Definition: ObjCTidyModule.cpp:55
clang::tidy::BugproneModuleAnchorSource
volatile int BugproneModuleAnchorSource
Definition: BugproneTidyModule.cpp:192
clang::tidy::ModernizeModuleAnchorSource
volatile int ModernizeModuleAnchorSource
Definition: ModernizeTidyModule.cpp:129
clang::tidy::AbseilModuleAnchorSource
volatile int AbseilModuleAnchorSource
Definition: AbseilTidyModule.cpp:84
clang::tidy::GoogleModuleAnchorSource
volatile int GoogleModuleAnchorSource
Definition: GoogleTidyModule.cpp:107