|
clang-tools 23.0.0git
|
Classes | |
| class | FormatvStringCheck |
| Validates llvm::formatv format strings against the provided arguments. More... | |
| 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 | 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 | RedundantCastingCheck |
| Detect redundant uses of LLVM's cast and dyn_cast functions. More... | |
| class | TwineLocalCheck |
| Looks for local Twine variables which are prone to use after frees and should be generally avoided. More... | |
| class | TypeSwitchCaseTypesCheck |
| Simplifies llvm::TypeSwitch Case calls by removing redundant explicit template arguments or replacing 'auto' lambda parameters with explicit types. 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... | |
| class | UseVectorUtilsCheck |
| Finds calls to llvm::to_vector(llvm::map_range(...)) and llvm::to_vector(llvm::make_filter_range(...)) that can be replaced with llvm::map_to_vector and llvm::filter_to_vector from SmallVectorExtras.h. More... | |
Functions | |
| static Expected< ParseResult > | parseFormatvString (StringRef Fmt) |
| static int | getPriority (StringRef Filename, bool IsAngled, bool IsMainModule) |
| static ClangTidyModuleRegistry::Add< LLVMModule > | X ("llvm-module", "Adds LLVM lint checks.") |
| static QualType | stripPointerOrReference (QualType Ty) |
| static bool | isLLVMNamespace (NestedNameSpecifier NNS) |
| static EditGenerator | rewrite (RangeSelector Call, RangeSelector Builder) |
| static RewriteRuleWith< std::string > | useNewMlirOpBuilderCheckRule () |
Variables | |
| static constexpr StringRef | FunctionNames [] |
|
static |
Definition at line 57 of file IncludeOrderCheck.cpp.
|
static |
Definition at line 81 of file llvm/RedundantCastingCheck.cpp.
|
static |
Definition at line 31 of file FormatvStringCheck.cpp.
Referenced by clang::tidy::llvm_check::FormatvStringCheck::check().
|
static |
Definition at line 24 of file UseNewMLIROpBuilderCheck.cpp.
References clang::tidy::utils::lexer::findNextTokenSkippingComments().
Referenced by useNewMlirOpBuilderCheckRule().
|
static |
Definition at line 74 of file llvm/RedundantCastingCheck.cpp.
|
static |
Definition at line 119 of file UseNewMLIROpBuilderCheck.cpp.
References rewrite().
Referenced by clang::tidy::llvm_check::UseNewMlirOpBuilderCheck::UseNewMlirOpBuilderCheck().
|
static |
|
staticconstexpr |
Definition at line 39 of file llvm/RedundantCastingCheck.cpp.