clang-tools
11.0.0
|
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 | 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 | |
const static StringRef | RequiredNamespace = "__llvm_libc" |
const DeclContext* clang::tidy::llvm_libc::getOutermostNamespace | ( | const DeclContext * | Decl | ) |
Definition at line 21 of file CalleeNamespaceCheck.cpp.
|
static |
|
static |
Definition at line 19 of file ImplementationInNamespaceCheck.cpp.