|
clang-tools 22.0.0git
|
Classes | |
| 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 | PreferStaticOverAnonymousNamespaceCheck |
| Finds function and variable declarations inside anonymous namespace and suggests replacing them with static declarations. More... | |
| class | TwineLocalCheck |
| Looks for local Twine variables which are prone to use after frees and should be generally avoided. More... | |
| class | UseNewMlirOpBuilderCheck |
| Checks for uses of MLIR's old/to be deprecated OpBuilder::create<T> form and suggests using T::create instead. More... | |
| class | UseRangesCheck |
| Finds calls to STL iterator algorithms that can be replaced with LLVM range-based algorithms from llvm/ADT/STLExtras.h. More... | |
Functions | |
| static int | getPriority (StringRef Filename, bool IsAngled, bool IsMainModule) |
| static ClangTidyModuleRegistry::Add< LLVMModule > | X ("llvm-module", "Adds LLVM lint checks.") |
| static EditGenerator | rewrite (RangeSelector Call, RangeSelector Builder) |
| static RewriteRuleWith< std::string > | useNewMlirOpBuilderCheckRule () |
|
static |
Definition at line 59 of file IncludeOrderCheck.cpp.
|
static |
Definition at line 25 of file UseNewMLIROpBuilderCheck.cpp.
Referenced by useNewMlirOpBuilderCheckRule().
|
static |
Definition at line 121 of file UseNewMLIROpBuilderCheck.cpp.
References rewrite().
Referenced by clang::tidy::llvm_check::UseNewMlirOpBuilderCheck::UseNewMlirOpBuilderCheck().
|
static |