|
clang-tools 22.0.0git
|
Classes | |
| class | CalleeNamespaceCheck |
| Checks all calls resolve to functions within __llvm_libc namespace. More... | |
| class | ImplementationInNamespaceCheck |
| Checks all llvm-libc implementation is within the correct namespace. More... | |
| class | InlineFunctionDeclCheck |
| Checks that explicitly and implicitly inline functions in headers files are tagged with the LIBC_INLINE macro. More... | |
| class | LLVMLibcModule |
| class | RestrictSystemLibcHeadersCheck |
| Warns of accidental inclusions of system libc headers that aren't compiler provided. More... | |
Functions | |
| static const DeclContext * | getOutermostNamespace (const DeclContext *Decl) |
| static const TemplateParameterList * | getLastTemplateParameterList (const FunctionDecl *FuncDecl) |
| static ClangTidyModuleRegistry::Add< LLVMLibcModule > | X ("llvmlibc-module", "Adds LLVM libc standards checks.") |
Variables | |
| static const llvm::StringSet | IgnoredFunctions |
| static const llvm::StringRef | RequiredNamespaceRefStart = "__llvm_libc" |
| static const llvm::StringRef | RequiredNamespaceRefMacroName = "LIBC_NAMESPACE" |
| static const llvm::StringRef | RequiredNamespaceDeclStart |
| static const llvm::StringRef | RequiredNamespaceDeclMacroName |
|
static |
Definition at line 20 of file InlineFunctionDeclCheck.cpp.
References FuncDecl.
Referenced by clang::tidy::llvm_libc::InlineFunctionDeclCheck::check().
|
static |
Definition at line 22 of file CalleeNamespaceCheck.cpp.
References getOutermostNamespace().
Referenced by clang::tidy::llvm_libc::CalleeNamespaceCheck::check(), and getOutermostNamespace().
|
static |
|
static |
Definition at line 38 of file CalleeNamespaceCheck.cpp.
Referenced by clang::tidy::llvm_libc::CalleeNamespaceCheck::check().
|
static |
Definition at line 20 of file NamespaceConstants.h.
Referenced by clang::tidy::llvm_libc::ImplementationInNamespaceCheck::check().
|
static |
Definition at line 18 of file NamespaceConstants.h.
Referenced by clang::tidy::llvm_libc::ImplementationInNamespaceCheck::check().
|
static |
Definition at line 17 of file NamespaceConstants.h.
Referenced by clang::tidy::llvm_libc::CalleeNamespaceCheck::check().
|
static |
Definition at line 16 of file NamespaceConstants.h.
Referenced by clang::tidy::llvm_libc::CalleeNamespaceCheck::check(), and clang::tidy::llvm_libc::ImplementationInNamespaceCheck::check().