clang-tools  16.0.0git
Classes | Functions
clang::tidy::llvm_check Namespace Reference


class  IncludeOrderCheck
 Checks the correct order of #includes. More...
class  LLVMHeaderGuardCheck
 Finds and fixes header guards that do not adhere to LLVM style. More...
class  LLVMModule
class  PreferIsaOrDynCastInConditionalsCheck
 Looks at conditionals and finds and replaces cases of cast<>, which will assert rather than return a null pointer, and dyn_cast<> where the return value is not captured. More...
class  PreferRegisterOverUnsignedCheck
 Historically, LLVM has used unsigned to represent registers. More...
class  TwineLocalCheck
 Looks for local Twine variables which are prone to use after frees and should be generally avoided. More...


static int getPriority (StringRef Filename, bool IsAngled, bool IsMainModule)
static ClangTidyModuleRegistry::Add< LLVMModuleX ("llvm-module", "Adds LLVM lint checks.")

Function Documentation

◆ getPriority()

static int clang::tidy::llvm_check::getPriority ( StringRef  Filename,
bool  IsAngled,
bool  IsMainModule 

Definition at line 60 of file IncludeOrderCheck.cpp.

References Filename, IsAngled, and IsMainModule.

◆ X()

static ClangTidyModuleRegistry::Add<LLVMModule> clang::tidy::llvm_check::X ( "llvm-module"  ,
"Adds LLVM lint checks."