9#include "../ClangTidy.h"
10#include "../ClangTidyModule.h"
11#include "../ClangTidyModuleRegistry.h"
24 "llvmlibc-callee-namespace");
26 "llvmlibc-implementation-in-namespace");
28 "llvmlibc-inline-function-decl");
30 "llvmlibc-restrict-system-libc-headers");
35static ClangTidyModuleRegistry::Add<LLVMLibcModule>
36 X(
"llvmlibc-module",
"Adds LLVM libc standards checks.");
A collection of ClangTidyCheckFactory instances.
void registerCheck(llvm::StringRef CheckName)
Registers the CheckType with the name Name.
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
Checks all calls resolve to functions within __llvm_libc namespace.
Checks all llvm-libc implementation is within the correct namespace.
Checks that explicitly and implicitly inline functions in headers files are tagged with the LIBC_INLI...
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
volatile int LLVMLibcModuleAnchorSource