10 #include "../ClangTidy.h"
11 #include "../ClangTidyModule.h"
12 #include "../ClangTidyModuleRegistry.h"
13 #include "../readability/NamespaceCommentCheck.h"
28 "llvm-namespace-comment");
34 static ClangTidyModuleRegistry::Add<LLVMModule>
X(
"llvm-module",
35 "Adds LLVM lint checks.");
Looks for local Twine variables which are prone to use after frees and should be generally avoided...
void registerCheck(StringRef CheckName)
Registers the CheckType with the name Name.
A collection of ClangTidyCheckFactory instances.
volatile int LLVMModuleAnchorSource
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module...
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
static ClangTidyModuleRegistry::Add< LLVMModule > X("llvm-module","Adds LLVM lint checks.")
Checks the correct order of #includes.