9 #include "../ClangTidy.h" 10 #include "../ClangTidyModule.h" 11 #include "../ClangTidyModuleRegistry.h" 12 #include "../readability/NamespaceCommentCheck.h" 20 namespace llvm_check {
28 "llvm-namespace-comment");
30 "llvm-prefer-isa-or-dyn-cast-in-conditionals");
36 static ClangTidyModuleRegistry::Add<LLVMModule>
X(
"llvm-module",
37 "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.
static ClangTidyModuleRegistry::Add< LLVMModule > X("llvm-module", "Adds LLVM lint checks.")
A collection of ClangTidyCheckFactory instances.
volatile int LLVMModuleAnchorSource
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module...
Checks the correct order of #includes.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
Looks at conditionals and finds and replaces cases of cast<>, which will assert rather than return a ...