clang-tools 20.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 | |
const DeclContext * | getOutermostNamespace (const DeclContext *Decl) |
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 |
const DeclContext * clang::tidy::llvm_libc::getOutermostNamespace | ( | const DeclContext * | Decl | ) |
Definition at line 23 of file CalleeNamespaceCheck.cpp.
References Decl, getOutermostNamespace(), and Parent.
Referenced by clang::tidy::llvm_libc::CalleeNamespaceCheck::check(), and getOutermostNamespace().
|
static |
|
static |
Definition at line 39 of file CalleeNamespaceCheck.cpp.
Referenced by clang::tidy::llvm_libc::CalleeNamespaceCheck::check().
|
static |
Definition at line 17 of file NamespaceConstants.h.
Referenced by clang::tidy::llvm_libc::ImplementationInNamespaceCheck::check().
|
static |
Definition at line 15 of file NamespaceConstants.h.
Referenced by clang::tidy::llvm_libc::ImplementationInNamespaceCheck::check().
|
static |
Definition at line 14 of file NamespaceConstants.h.
Referenced by clang::tidy::llvm_libc::CalleeNamespaceCheck::check().
|
static |
Definition at line 13 of file NamespaceConstants.h.
Referenced by clang::tidy::llvm_libc::CalleeNamespaceCheck::check(), and clang::tidy::llvm_libc::ImplementationInNamespaceCheck::check().